$query = mysql_query(“select *  from student   “);

i got a error then i wrote this code

working fine:

$query = “select *  from student   “;

$result = mysql_query($query) or die (mysql_error());