Variable

From: Date: Wed, 14 Aug 2002 08:23:18 +0000
Subject: Variable
Groups: php.general 
Request: Send a blank email to php-general+get-112496@lists.php.net to get a copy of this message
this is the form -------------- insert.php ---------------- <tr>
    <td width="105">Nama Satu</td>
    <td width="289">
      <input type="text" name="namasa" size="40">
    </td>
</tr>
    <td width="105">Nama Dua</td>
    <td width="289">
      <input type="text" name="namadu" size="40">
    </td>
</tr>
    <td width="105">Nama Tiga</td>
    <td width="289">
      <input type="text" name="namati" size="40">
    </td>
</tr> ----------------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 help!!!!

« previous php.general (#112496) next »