hi.. i am receiving the following error to view my members profile.
here is the code: <?phpinclude 'functions.php';if(!loggedin()){header("Location: mlogin.php");exit();}?><?php include ("header.html"); include ("memmenu.html"); include ("profileinf.html"); $username = $_GET['username'];$con = mysql_connect("localhost","root","");if (!$con) { die('Could not connect: ' . mysql_error()); }mysql_select_db("cricket", $con);if(isset($username)){$user =mysql_query( "SELECT * FROM `members` WHERE username='$username'");}else{echo"username not received.";}echo "<table align='' border='1'><tr><th>Fullname</th><th>Username</th><th>Date of Birth</th><th>Address</th><th>E-mail</th><th>Phonenumber</th></tr>";while($row = mysql_fetch_array($user)) { echo "<tr>"; echo "<td>" . $row['fullname'] . "</td>"; echo "<td>" . $row['username'] . "</td>"; echo "<td>" . $row['dob'] . "</td>"; echo "<td>" . $row['address'] . "</td>"; echo "<td>" . $row['email'] . "</td>"; echo "<td>" . $row['phonenumber'] . "</td>"; echo "</tr>"; }echo "</table>";echo "<br>"; echo '<form name="backlistfrm" method="post" action="profile.php">';echo '<input type="submit" value="Back to The List">';echo '</form>';echo "<br>";mysql_close($con); include ("footer.html");?>
would u help me out.............?