php warning: mysql_fetch_row()

projects
projects used Ask the Experts™
on
I have no idea if someone can help me with this or not but since my programmer is gone for 24hrs, I need to ask someone.

I am seeing the following error in the apache logs;

PHP Warning:  mysql_fetch_row() expects parameter 1 to be resource, string given in app.php on line 103

Line 103 is;

$select = mysql_fetch_row($query);
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Check before this line whether you've execute the query with result. Example,

Author

Commented:
The line before that is;

$result = execQuery($dbconn,$query);

Your example link doesn't seem to lead to anything.
Expert of the Year 2014
Top Expert 2014
Commented:
Means the query failed so there are no rows to fetch
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Author

Commented:
So it's just a warning, nothing to be concerned about? Or, does it possibly mean it is not finding the data?
Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:

Author

Commented:
Ok, so it looks like the programmer just missed this because everything else is using mysqli.
He just needs to update this then.
Expert of the Year 2014
Top Expert 2014
Commented:
Not really a warning, when executing the query something went wrong i.e. your sql is wrong

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial