Hi!
I am executing mysql command via PHP is,
$query = mysql_query("select * from table_name");
$query_res = mysql_fetch_array($query);
print_r($query_res);
But I am only getting the first record present in that table, not all the records. Why?
When I am doing the same query on PhpMyAdmin, it works fine and shows me all the records.