Guest Posted April 2, 2015 Share Posted April 2, 2015 Hi Just checking thru "updated site" before going "live" and found the following; Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/grandp/public_html/BS234/includes/functions/database.php on line 104 Line 104 is; return mysqli_num_rows($db_query); What the heck do I do to correct this. Many thanks Grandpa using BS234 (not sure whether I have placed this in the correct forum) Link to comment Share on other sites More sharing options...
clustersolutions Posted April 2, 2015 Share Posted April 2, 2015 Ur $db_query needs to be defined by tep_db_query("some query"). The error is in the file that calls database.php tep_db_num_rows function. Link to comment Share on other sites More sharing options...
♥Tsimi Posted April 2, 2015 Share Posted April 2, 2015 Where do you see this error message? Which page? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.