Advertisement
Daniel3996

Form.php

Mar 26th, 2024
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. <form method="post" name="form" id="form" enctype="multipart/form-data" >
  2.  
  3.  
  4. <h1>User Form</h1>
  5.  
  6. <label for="user_name">Username: </label><br>
  7. <input name="user_name" id="user_name" type="text" placeholder="alphabets & digits" >
  8. <span><p id="userCheck"></p></span>
  9. <p><?php echo $usernameError; ?></p><br><br>
  10.  
  11.  
  12.  
  13. <label for="first_name">First Name: </label><br>
  14. <input name="first_name" id="first_name" type="text" placeholder="First Name" >
  15. <span><p id="firstNameCheck"></p></span>
  16. <span><p><?php echo $firstnameError; ?></p></span><br><br>
  17.  
  18.  
  19.  
  20. <label for="last_name">Last Name: </label><br>
  21. <input name="last_name" id="last_name" type="text" placeholder="Last Name" >
  22. <span><p id="lastNameCheck"></p></span>
  23. <span><p><?php echo $lastnameError; ?></p></span><br><br>
  24.  
  25.  
  26.  
  27. <label for="email">Email: </label><br>
  28. <input name="email" id="email" type="text" placeholder="Insert your email" >
  29. <span><p id="EmailCheck"></p></span>
  30. <span><p><?php echo $emailError; ?></p></span><br><br>
  31.  
  32.  
  33. <label for="phone">Phone Number: </label><br>
  34. <input name="phone" id="phone" type="text" placeholder="Insert your number">
  35. <span><p id="PhoneCheck"></p></span>
  36. <span><p><?php echo $phoneError; ?></p></span><br><br>
  37.  
  38.  
  39. <label for="age">Age: </label><br>
  40. <input name="age" id="age" type="text" placeholder="Insert your age" >
  41. <span><p id="AgeCheck"></p></span>
  42. <span><p><?php echo $ageError; ?></p></span><br><br>
  43.  
  44.  
  45. <label for="password">Password: </label><br>
  46. <input name="no-password" id="cpassword" type="text" placeholder="Enter your password" >
  47. <span class="password_mismatch"></span>
  48. <span><p><?php echo $passwordError; ?></p></span><br><br>
  49.  
  50.  
  51. <label for="password">Confirm Password: </label><br>
  52. <input name="password" id="password" type="text" placeholder="Enter your password" >
  53. <span class="password_mismatch"></span>
  54. <span><p><?php echo $passwordError; ?></p></span><br><br>
  55.  
  56. <label for="fileToUpload">File submission: </label><br>
  57. <input name="fileToUpload" id="fileToUpload" type="file" placeholder="Import your file" >
  58. <span><p id="fileCheck"></p></span>
  59. <span><p><?php echo $fileError; ?></p></span><br><br>
  60.  
  61. <input type="submit" name="submit" id="submit" value="Submit Form">
  62. <br>
  63. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement