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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
xtops Posted September 19, 2009 Author Share Posted September 19, 2009 tnx sir i got it.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.