Classes With Friends (addclass.php)


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?
  2.  
  3. $fID = $_GET['id'];
  4. ?>
  5.  
  6. <p> Add a class to the IT Department of hofstra!</p>
  7.  
  8.  
  9.  
  10. <form name="form1" method="post" action="insertclass.php?id=<? echo $fID;?>">
  11. <p>
  12. <label for="name">Course Code</label>
  13. <input type="text" name="coursecode" id="coursecode">
  14. <label for="time"><br>
  15. Time [HH:MM]</label>
  16. <input type="text" name="time" id="time">
  17.  
  18. <label for="day"><br>
  19. Days [MWF] OR [TTH] ONLY </label>
  20. <select name="day" size="1" id="days">
  21. <option value="MWF">MWF</option>
  22. <option value="TTH">TTH</option>
  23. </select>
  24. <br>
  25. <input type="submit" name="submit" id="submit" value="Submit">
  26. </p>
  27. </form>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.