I want to retrieve my user profiles and print the profile values on the profile form after the user registers on my site but i keep getting the error mentioned above.
<?php
$q ="SELECT * FROM indiviual where email='".$loggedinmail."'";
$result = mysql_query($q);
while($data = mysql_fetch_array($result))
{
$fullname = $data['fullname'];
echo "$fullname";
}
?>