PHP |
<?php |
HTML |
<form action="registration.php" method="post"> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table1"> <tr> <td width="118">Nik:</td> <td><input type="text" name="Nik" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table6"> <tr> <td width="119" height="21">Pass:</td> <td height="21"><input type="text" name="Pass" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table7"> <tr> <td width="119" height="21">Profiles:</td> <td height="21"><input type="text" name="profil1" value=""><br> <input type="text" name="title2" value=""><br> <input type="text" name="title3" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table5"> <tr> <td width="119" height="21">WMZ:</td> <td height="21"><input type="text" name="profil2" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table10"> <tr> <td width="119" height="21">ICQ:</td> <td height="21"><input type="text" name="ICQ" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table11"> <tr> <td width="119" height="21">Level:</td> <td height="21"><input type="text" name="level" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table8"> <tr> <td width="120" height="21">Status:<br> </td> <td height="21"><input type="text" name="status" value=""></td> </tr> </table> <table border="0" width="38%" cellpadding="0" style="border-collapse: collapse" id="table1"> </table> <input type="submit" name="sumbit" value="Sent"></form> |
PHP |
$query = "INSERT INTO user (`Nik`, `Pass`, `profil1`, `profil2`, `profil3`, `WMZ`, `ICQ`, `level`, `status`, `date`, `lustdate`) VALUES |
SQL |
$query = "INSERT INTO user (`Nik`, `Pass`, `profil1`, `profil2`, `profil3`, `WMZ`, `ICQ`, `level`, `status`, `date`, `lustdate`) VALUES ('$Nik', '$Pass', '$profil1', '$profil2', '$profil3', '$WMZ', '$ICQ', '$level', '$status', '$date', '$lustdate')" |