Guest User

Untitled

a guest
Aug 17th, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <?php
  2. // DEFINE VARIABLES
  3. $con = mysqli_connect(localhost, disaster_user, password, disaster_database);
  4. $page_id = $_GET['page'];
  5. $result = mysqli_query($con,"SELECT * FROM pages");
  6. while($row = mysqli_fetch_assoc($result)) {
  7. $pagelinkis = " <a href=\"gallery.php?page=".$row['pagenumber']."\">".$row['pagenumber']."</a> ";
  8. }
  9. ?>
  10. </table>
  11. <table border="0" style="width:100%" cellspacing="0" cellpadding="5" align="center">
  12. <tr style="background-color: #FFFFFF; color:#000FFF;">
  13. <td style="text-align:center; font-size: 12px;">
  14. <style="text-transform: uppercase;">
  15. <?php echo "$pagelinkis"; ?>
  16. </style>
  17. </td>
  18. </tr>
  19. </table>
Advertisement
Add Comment
Please, Sign In to add comment