this is the form
 -------------- insert.php ---------------- 

     <td width="105">Nama Satu</td>
     <td width="289">
       <input type="text" name="namasa" size="40">
     <td width="105">Nama Dua</td>
     <td width="289">
       <input type="text" name="namadu" size="40">
     <td width="105">Nama Tiga</td>
     <td width="289">
       <input type="text" name="namati" size="40">
 ----------------variable and my query ---------------------- 

$Namak = $namasa;
$Namak = $Namak.$namadu;
$Namak = $Namak.$namati; 

$query  ="Insert into Kel (NIP,Id_kel,Nama,Status)";
$query .="Values ('$NIP','$Id_kel','$Namak','$Status')"; 

the problem is my query cant execute the variable $Namak
i got failed message from mysql query 


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to