weinerwad3000

php

Jun 24th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <?php
  2.  
  3. include('db.php');
  4.  
  5. $sqlget = "SELECT * FROM user WHERE SelectDate = "params['selectDate'];
  6. $sqldata = mysql_query($sqlget);
  7.  
  8. ?>
  9. <html><head></head><body>
  10.  
  11. <?php
  12.  
  13. while($user=mysql_fetch_assoc($sqldata)){
  14.  
  15. $i=1;
  16. echo "<tr>";
  17. echo "<td>"i"</td>";
  18. echo "<td>".$user['name']."</td>";
  19. echo "<td>".$user['numpeople']."</td>";
  20. echo "<td>".$user['tables']."</td>";
  21. echo "<td>".$user['bbq']."</td>";
  22. echo "<td>".$user['phonenum']."</td>";
  23. echo "<td>".$user['notes']."</td>";
  24. echo "</tr>";
  25. }
  26. ?>
  27.  
  28. </body></html>
Add Comment
Please, Sign In to add comment