Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("mysql_connect_db.php");
- $query = "SELECT * FROM `FAQ_BEHEERDER`";
- $result = mysqli_query($db_connection, $query) or die ("query fout: ".$query);
- $row = mysqli_fetch_row($result);
- ?>
- <link rel='stylesheet' type='text/css' href='Stylesheet/style.css' />
- <div id="faq_beheerder">
- <table border="1">
- <tr>
- <th>topic</th>
- <th>question</th>
- <th>answer</th>
- </tr>
- <?php
- while ($row = mysqli_fetch_array($result) )
- {
- echo "<tr>
- <td>".$row["topic"].",</td>
- <td>".$row["question"]."</td>
- <td>".$row["answer"]."</td>
- </tr>";
- }
- ?>
- </table>
- </div>
Add Comment
Please, Sign In to add comment