Click here to Skip to main content
15,921,530 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<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">&nbsp;</td></tr>
     <tr>
      <td>surname :<span class="red">*</span></td>
      <td><input type="text" id="surname" name="surname"/></td>
      <td id="surnameError" class="red">&nbsp;</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">&nbsp;</td></tr>
    <tr>
      <td>Email :<span class="red">*</span></td>
      <td><input type="text" id="email" name="email" /></td>
      <td id="emailError" class="red">&nbsp;</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">&nbsp;</td></tr>
    <tr>
      <td>mobile :<span class="red">*</span></td>
      <td><input type="text" id="mobile" name="mobile" /></td>
      <td id="mobileError" class="red">&nbsp;</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">&nbsp;</td></tr>
    <tr>
      <td>postcode :<span class="red">*</span></td>
      <td><input type="text" id="postcode" name="postcode" /></td>
      <td id="postcodeError" class="red">&nbsp;</td></tr>


    <tr>
      <td>Address :</td>
      <td><textarea  name="address" id="address" style=" width:145px;"></textarea></td>
      <td id="addressError" class="red">&nbsp;</td></tr>

    <tr>
       <td>image :<span class="red">*</span></td>
       <td><input type="file" id="image" name="image"/></td>
       <td id="imageError" class="red">&nbsp;</td></tr>
    <tr>
       <td>file :<span class="red">*</span></td>
       <td><input type="file" id="file" name="file"/></td>
       <td id="fileError" class="red">&nbsp;</td></tr>
    <tr>
      <td>password :<span class="red">*</span></td>
      <td><input type="password" id="password" name="password" /></td>
      <td id="passwordError" class="red">&nbsp;</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">&nbsp;</td></tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" value="SEND" id="submit"/>&nbsp;
          <input type="reset" value="CLEAR" id="reset"/></td>
      <td>&nbsp;</td></tr>
    <tr>
      <td>&nbsp;</td>
      <td><a href="form.php">sign in</a></td></tr>

        </table>
        </form>
Posted
Comments
mali_angel 8-Jul-13 7:31am    
Can u explain what you want to do..this is just the code.cannot understand to give an answer without your question/explanation..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900