Advertisement
Guest User

1

a guest
Nov 26th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <table>
  2. <tr>
  3. <th>Team id</th>
  4. <th>Team name</th>
  5. <th>Players</th>
  6. <th>Matches</th>
  7. </tr>
  8. <?php
  9. while($row = mysql_fetch_array($retval, MYSQL_ASSOC))
  10. {
  11. ?>
  12. <tr>
  13. <td><?php echo "{$row['Team_id']}"; ?></td>
  14. <td><?php echo "{$row['Team_name']}"; ?></td>
  15. <td><?php echo "{$row['Players']}"; ?></td>
  16. <td><?php echo "{$row['Matches']}"; ?></td>
  17. </tr>
  18. <?php
  19. }
  20. ?>
  21. </table>
  22. <?php
  23. echo "Fetched data successfully\n";
  24.  
  25. mysql_close($conn);
  26. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement