This question already has an answer here:
<?php
$Email = $_SESSION['Email'];
$query="SELECT Title FROM registerations WHERE Email LIKE $Email";
//echo $query;
$res=mysql_query($query);
//echo $result;
//$Title="";
while($row = mysql_fetch_array($res))
{ //echo "inloop";
echo $row['Title'];
}
?>
This is showing the error:
Warning: mysql_fetch_array() expects parameter 1 to be resource, Boolean given in.
I don't understand what the mistake is.
</div>