<form id="theForm" action="insert.php" method="post" enctype="multipart/form-data" > <table align="center" cellpadding="2" cellspacing="5" class="reg"> <tr><td colspan="2" align="right"><font color="#FF0000">*</font> Mandatory Fields</td></tr> <tr> <td>username :<span class="red">*</span></td> <td><input type="text" id="username" name="username"/></td> <td id="usernameError" class="red"> </td></tr> <tr> <td>surname :<span class="red">*</span></td> <td><input type="text" id="surname" name="surname"/></td> <td id="surnameError" class="red"> </td></tr> <tr> <td>Country :<span class="red">*</span></td> <td><select id="country" name="country"> <option value="" selected>Please select...</option> <option value="india">india</option> <option value="australiya">australiya</option> <option value="simla">simla</option> </select><br /></td> <td id="countryError" class="red"> </td></tr> <tr> <td>Email :<span class="red">*</span></td> <td><input type="text" id="email" name="email" /></td> <td id="emailError" class="red"> </td></tr> <tr> <td>sex :<span class="red">*</span></td> <td><input type="radio" name="sex" value="male" />Male <input type="radio" name="sex" value="female" />Female</td> <td id="sexError" class="red"> </td></tr> <tr> <td>mobile :<span class="red">*</span></td> <td><input type="text" id="mobile" name="mobile" /></td> <td id="mobileError" class="red"> </td></tr> <tr> <td>hobbies :<span class="red">*</span></td> <td><input type="checkbox" name="hobbies" value="reading" />Reading <input type="checkbox" name="hobbies" value="music" />music <input type="checkbox" name="hobbies" value="cricket" />cricket</td> <td id="hobbiesError" class="red"> </td></tr> <tr> <td>postcode :<span class="red">*</span></td> <td><input type="text" id="postcode" name="postcode" /></td> <td id="postcodeError" class="red"> </td></tr> <tr> <td>Address :</td> <td><textarea name="address" id="address" style=" width:145px;"></textarea></td> <td id="addressError" class="red"> </td></tr> <tr> <td>image :<span class="red">*</span></td> <td><input type="file" id="image" name="image"/></td> <td id="imageError" class="red"> </td></tr> <tr> <td>file :<span class="red">*</span></td> <td><input type="file" id="file" name="file"/></td> <td id="fileError" class="red"> </td></tr> <tr> <td>password :<span class="red">*</span></td> <td><input type="password" id="password" name="password" /></td> <td id="passwordError" class="red"> </td></tr> <tr> <td>Verify password :<span class="red">*</span></td> <td><input type="password" id="pwVerified" name="pwVerified" /></td> <td id="pwVerifiedError" class="red"> </td></tr> <tr> <td> </td> <td><input type="submit" value="SEND" id="submit"/> <input type="reset" value="CLEAR" id="reset"/></td> <td> </td></tr> <tr> <td> </td> <td><a href="form.php">sign in</a></td></tr> </table> </form>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)