In my code
<?php
session_start();
mysql_connect("host","username","password");
mysql_select_db("database");
$id = $_GET['id'];
?>
<?php print htmlentities($_SESSION['dbUser']['id'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['username'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['fname'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['lname'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['email'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['rank'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['picture'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['dob_month'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['dob_day'], ENT_QUOTES, 'UTF-8'); ?><br>
<?php print htmlentities($_SESSION['dbUser']['dob_year'], ENT_QUOTES, 'UTF-8'); ?>
It only echos the id, the username, and the email address...How could i fix this?