projects
asked on
php warning: mysql_fetch_row()
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);
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);
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
So it's just a warning, nothing to be concerned about? Or, does it possibly mean it is not finding the data?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Ok, so it looks like the programmer just missed this because everything else is using mysqli.
He just needs to update this then.
He just needs to update this then.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
$result = execQuery($dbconn,$query);
Your example link doesn't seem to lead to anything.