SHARE
TWEET

Untitled

a guest Jul 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $i = 1;
  2. while(isset($_POST["sigla_$i"]) && isset($_POST["faixa_$i"])){
  3.  
  4.     $sigla=$_POST['sigla_$i'];
  5.     $faixa=$_POST['faixa_$i'];
  6.  
  7.     include("../conexao.php"); mysql_query("INSERT INTO faixa (sigla, faixa) VALUES ('".$sigla."', '".$faixa."');");
  8.  
  9.     $i++;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top