Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('header.php');
- echo "<table width=75% cellspacing=1 class='table'>
- <tr style='background:gray'>
- <th>Posters Name</th>
- <th>Posters Message</th>
- <th>Posters Userid</th>
- </tr>";
- $res = mysql_query("SELECT * FROM `chat_boxes`");
- while ($row = mysql_fetch_array($res))
- {
- print "\n<tr>
- <td>{$row['postername']}</td>
- <td>{$row['postermessage']}</td>
- <td>{$row['posterid']}</td>
- </tr>";
- }
- print "</table>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment