0 comments / July 03, 2015

[SOLVED] Warning:mysql_fetch_array expects parameter 1 to be resource

when you pass a query result to mysql_fetch_array, it should contain some data otherwise it will returns a warning like "mysql_fetch_array() expects parameter 1 to be resource (or mysqli_result), boolean given"