I'm getting a blank page on the side where the code is placed to echo data from the database.
My code is:
<?php include 'includes/config2.php' ?>
<?php $db = new PDO('mysql:host=localhost;dbname=teun_blog', $dbuser,$dbpass);
$statement = $db->prepare("SELECT products FROM members WHERE memberID = 1");
$statement->execute(array(':name' => "Teun"));
$row = $statement->fetch();
?>
<?php while ($row = $statement->fetch()): ?>
<tr>
<td><span class="label label-info">Je hebt <a href="mijnproducten"><?php echo htmlspecialchars($row['products'])?></a> Webhosting pakket(ten).</span></td>
</tr>
<?php endwhile; ?>