mysql_fetch_row() expects parameter 1 to be resource, boolean given
I have the following code:
$row = mysql_fetch_row(ji_mysql_query("SELECT FOUND_ROWS()"));
$post_count = $row[0];
What is missing here?
mysql_fetch_row() expects parameter 1 to be resource, boolean given
I have the following code:
$row = mysql_fetch_row(ji_mysql_query("SELECT FOUND_ROWS()"));
$post_count = $row[0];
What is missing here?
While mysql_query appears to be returning a boolean value, I guess that means the query failed.
http://php.net/manual/en/function.mysql-query.php example 1
that is the answer to what is causing this message, and there for is the answer to this question. There is insufficient data to give a better answer as to why the query is failing.