Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- </form>
- <table>
- <?php
- echo "<tr><th>Date</th><th>Pseudo</th><th>Message</th><th>To Par</th><th>Durée</th></tr>";
- while ($rep = $request->fetch(PDO::FETCH_ASSOC)) {
- echo "<tr>"
- if (isset($rep['date']))
- echo "<td>" . $rep['date'] . "</td>";
- if (isset($rep['pseudo']))
- echo "<td>" . $rep['pseudo'] . "</td>";
- if (isset($rep['message']))
- echo "<td>" . $rep['message'] . "</td>";
- if (isset($rep['to_par']))
- echo "<td>" . $rep['to_par'] . "</td>";
- if (isset($rep['duree']))
- echo "<td>" . $rep['duree'] . "</td>";
- echo "</tr>";
- }
- ?>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement