xtops Posted September 18, 2009 Share Posted September 18, 2009 "Warning:mysql_fetch_field(): supplied argument is not valid MySQL result resource in /var/www/test.php on line 23" how do i solved this pla help!! i'm using ubuntu 8.04 server. Link to comment https://forums.phpfreaks.com/topic/174684-solved-hi-need-helphow-to-fix-this-error-warningmysql_fetch_field-supplied-argu/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 18, 2009 Share Posted September 18, 2009 The error means that your query failed and returned a FALSE value instead of a result resource. It has nothing to do with an installation problem (the forum section where you originally posted the thread.) For troubleshooting, echo mysql_error(); right after the line with your mysql_query() statement to find out why the query failed. It is usually due to a syntax error in the query or that no database was selected. Link to comment https://forums.phpfreaks.com/topic/174684-solved-hi-need-helphow-to-fix-this-error-warningmysql_fetch_field-supplied-argu/#findComment-920675 Share on other sites More sharing options...
xtops Posted September 19, 2009 Author Share Posted September 19, 2009 tnx sir i got it.. Link to comment https://forums.phpfreaks.com/topic/174684-solved-hi-need-helphow-to-fix-this-error-warningmysql_fetch_field-supplied-argu/#findComment-921092 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.