Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. <html>
  2. <font style="color: purple;">Hello! Welcome to my website! This is a quiz for best friends!</font>
  3. <br>
  4. <?
  5. $Option1 = $_POST['class'];
  6. if ($Option1 != null){
  7. if ($Option1 == "1"){
  8. echo "You chose Math";
  9. }
  10. else if ($Option1 == "2"){
  11. echo "You chose English";
  12. }
  13. else{
  14. echo "Huh?";
  15. }
  16. }
  17.  
  18. ?>
  19.  
  20.  
  21. 1. For how many years have you and your best friend been best friends?
  22. <form METHOD="POST">
  23. <br>
  24. <input type="radio" id="class" name="class" value="1"> For 1 or 2 years</input><br>
  25. <input type="radio" id="class" name="class" value="2"> Not long</input><br>
  26. <input type="radio" id="class" name="class" value="3"> Since we were kids</input><br>
  27.  
  28. 2. What makes your best friend, your best friend?
  29. <input type="radio" id="class" name="class" value="1"> She is the only one that really gets me</input><br>
  30. <input type="radio" id="class" name="class" value="2"> The fact that we can talk to each other about anything</input><br>
  31. <input type="radio" id="class" name="class" value="3"> Because she's the only one I trust</input><br>
  32.  
  33. 3. In school do you and your best friend always hang out together?
  34. <input type="radio" id="class" name="class" value="1"> Yes, of course </input><br>
  35. <input type="radio" id="class" name="class" value="2"> No not really</input><br>
  36. <input type="radio" id="class" name="class" value="3"> sometimes</input><br>
  37.  
  38. 4. How many times did you and your best friend go out?
  39. <input type="radio" id="class" name="class" value="1"> We actually never went out</input><br>
  40. <input type="radio" id="class" name="class" value="2"> 3 or 4 times</input><br>
  41. <input type="radio" id="class" name="class" value="3"> More than I can remember</input><br>
  42.  
  43. 5. One day, you and your best friend are at the mall, and then you hear someone talking trash about her what do you do?
  44. <input type="radio" id="class" name="class" value="1"> Ignore and walk away</input><br>
  45. <input type="radio" id="class" name="class" value="2"> Go over there and defend her</input><br>
  46. <input type="radio" id="class" name="class" value="3"> Both of us go over there and start a fight</input><br>
  47.  
  48. 6. Normally, you and your best friend hang out at lunch but then one day she just ditches you, what do you do?
  49. <input type="radio" id="class" name="class" value="1"> Give her the silent treatment</input><br>
  50. <input type="radio" id="class" name="class" value="2"> After school I call her and tell her how i felt when she ditched me</input><br>
  51. <input type="radio" id="class" name="class" value="3"> I go and find my other friends and stay with them</input><br>
  52.  
  53. 7. You are invited to the biggest party of the year, but your best friend isn't invited, what do you do?
  54. <input type="radio" id="class" name="class" value="1"> I go to the party without her knowing</input><br>
  55. <input type="radio" id="class" name="class" value="2"> I take her with me and we have the best time</input><br>
  56. <input type="radio" id="class" name="class" value="3"> I go over to her house and ditch the party</input><br>
  57.  
  58. 8. What do you and your best friend talk about?
  59. <input type="radio" id="class" name="class" value="1"> BOYS!</input><br>
  60. <input type="radio" id="class" name="class" value="2"> We talk about what we are gonna do in the summer and when we grow up</input><br>
  61. <input type="radio" id="class" name="class" value="3"> About our celebrity crushes</input><br>
  62.  
  63. 9. Can you tell your best friend anything?
  64. <input type="radio" id="class" name="class" value="1"> Well, of course she's my best friend</input><br>
  65. <input type="radio" id="class" name="class" value="2"> It depends</input><br>
  66. <input type="radio" id="class" name="class" value="3"> NO</input><br>
  67.  
  68. 10. At the end of the day do you think you and your best friend can last forever?
  69. <input type="radio" id="class" name="class" value="1"> OF COURSE! I can't live without her</input><br>
  70. <input type="radio" id="class" name="class" value="2"> Not for soooo long like maybe a couple of years</input><br>
  71. <input type="radio" id="class" name="class" value="3"> I can see us being best friends forever but I might also have another best friend</input><br>
  72. <input type="submit" value="Submit Answer"/>
  73. </form>
  74.  
  75. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement