Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. <form action='' method='post'>
  2. <div id="innerhere" class="innerhere">
  3. <div class="classnum1">
  4. <b>Class 1:</b>
  5. </div>
  6. <input type='text' name='champ' id='champ' onkeyup='showResult(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  7. <br>
  8. <span id='txtHint' onmouseover='bgcolor()' onmouseout='bg2color()' style='font-size: 12pt; font-family: times new roman'></span><br>
  9. </div>
  10. <div id="innerhere2" class="innerhere2">
  11. <div class="classnum2">
  12. <b>Class 2:</b>
  13. </div>
  14. <input type='text' name='champ2' id='champ2' onkeyup='showResult2(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  15. <br>
  16. <span id='txtHint2' onmouseover='bgcolor2()' onmouseout='bg2color2()' style='font-size: 12pt; font-family: times new roman'></span><br>
  17. </div>
  18. <div id="innerhere3" class="innerhere3">
  19. <div class="classnum3">
  20. <b>Class 3:</b>
  21. </div>
  22. <input type='text' name='champ3' id='champ3' onkeyup='showResult3(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  23. <br>
  24. <span id='txtHint3' onmouseover='bgcolor3()' onmouseout='bg2color3()' style='font-size: 12pt; font-family: times new roman'></span><br>
  25. </div>
  26. <div id="innerhere4" class="innerhere4">
  27. <div class="classnum4">
  28. <b>Class 4:</b>
  29. </div>
  30. <input type='text' name='champ4' id='champ4' onkeyup='showResult4(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  31. <br>
  32. <span id='txtHint4' onmouseover='bgcolor4()' onmouseout='bg2color4()' style='font-size: 12pt; font-family: times new roman'></span><br>
  33. </div>
  34. <div id="innerhere5" class="innerhere5">
  35. <div class="classnum5">
  36. <b>Class 5:</b>
  37. </div>
  38. <input type='text' name='champ5' id='champ5' onkeyup='showResult5(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  39. <br>
  40. <span id='txtHint5' onmouseover='bgcolor5()' onmouseout='bg2color5()' style='font-size: 12pt; font-family: times new roman'></span><br>
  41. </div>
  42. <div id="innerhere6" class="innerhere6">
  43. <div class="classnum6">
  44. <b>Class 6:</b>
  45. </div>
  46. <input type='text' name='champ6' id='champ6' onkeyup='showResult6(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  47. <br>
  48. <span id='txtHint6' onmouseover='bgcolor6()' onmouseout='bg2color6()' style='font-size: 12pt; font-family: times new roman'></span><br>
  49. </div>
  50. <div id="innerhere7" class="innerhere7">
  51. <div class="classnum7">
  52. <b>Class 7:</b>
  53. </div>
  54. <input type='text' name='champ7' id='champ7' onkeyup='showResult7(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  55. <br>
  56. <span id='txtHint7' onmouseover='bgcolor7()' onmouseout='bg2color7()' style='font-size: 12pt; font-family: times new roman'></span><br>
  57. </div>
  58. <div id="innerhere8" class="innerhere8">
  59. <div class="classnum8">
  60. <b>Class 8:</b>
  61. </div>
  62. <input type='text' name='champ8' id='champ8' onkeyup='showResult8(this.value)' style='margin-bottom:0px; font-size: 12pt; font-family: times new roman' autocomplete='off'>
  63. <br>
  64. <span id='txtHint8' onmouseover='bgcolor8()' onmouseout='bg2color8()' style='font-size: 12pt; font-family: times new roman'></span><br>
  65. </div>
  66. <input type='submit' value='Register' name='register'>
  67. </form>
  68.  
  69. $class1 = mysqli_real_escape_string($connection, $_POST['champ']);
  70. $class2 = mysqli_real_escape_string($connection, $_POST['champ2']);
  71. $class3 = mysqli_real_escape_string($connection, $_POST['champ3']);
  72. $class4 = mysqli_real_escape_string($connection, $_POST['champ4']);
  73. $class5 = mysqli_real_escape_string($connection, $_POST['champ5']);
  74. $class6 = mysqli_real_escape_string($connection, $_POST['champ6']);
  75. $class7 = mysqli_real_escape_string($connection, $_POST['champ7']);
  76. $class8 = mysqli_real_escape_string($connection, $_POST['champ8']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement