Guest User

Untitled

a guest
Jun 19th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1. <?php
  2. $bookingresult  = mysql_query($sqlbig) or die(mysql_error());
  3. if (mysql_num_rows($bookingresult) > 0) {
  4.     ?><table cellspacing="0" cellpadding="2">
  5.     <thead>
  6.         <tr>
  7.             <th>Title</th>
  8.             <th>Date</th>
  9.             <th>Start Time</th>
  10.             <th>End Time</th>
  11.             <th>Venue</th>
  12.             <th>City</th>
  13.             <th>State</th>
  14.             <th>Country</th>
  15.             <th>Cover</th>
  16.             <th>Age Limit</th>
  17.             <th>Description</th>
  18.         </tr>
  19.     </thead>
  20.     <tbody><?php
  21.     while ($row = mysql_fetch_assoc($bookingresult)) {
  22.         ?><tr>
  23.             <td><?= $row["title"] ?></td>
  24.             <td><?= $row["date"] ?></td>
  25.             <td><?= $row["start_time"] ?></td>
  26.             <td><?= $row["end_time"] ?></td>
  27.             <td><?= $row["venue"] ?></td>
  28.             <td><?= $row["city"] ?></td>
  29.             <td><?= $row["state"] ?></td>
  30.             <td><?= $row["country"] ?></td>
  31.             <td><?= $row["cover"] ?></td>
  32.             <td><?= $row["age_limit"] ?></td>
  33.             <td><?= $row["description"] ?></td>
  34.         </tr>
  35.     <?php
  36.     }
  37. }
  38. else {
  39.     echo "aint shit here nigga";
  40. }
  41. ?>
Add Comment
Please, Sign In to add comment