Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <ul>
  2. <li><input type="text" name="first" id="first" />
  3. <ul>
  4. <?php
  5. while($row = mysql_fetch_assoc($sql)){
  6. $name = $row["name"];
  7. echo $name;
  8. }
  9.  
  10. ?>
  11. </ul>
  12. </li>
  13. <li>Vs.</li>
  14. <li><input type="text" name="second" id="second" />
  15. <ul>
  16. <?php
  17. while($row = mysql_fetch_assoc($sql)){
  18. $name = $row["name"];
  19. echo "<li>$name</li>";
  20. }
  21. ?>
  22. </ul>
  23. </li>
  24. <li><input type="submit" name="submit" id="submit" value="Compare!"/></li>
  25. </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement