|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17888 Supplied argument is not a valid MySQL result resource
Submitted: 2002-06-20 21:23 UTC Modified: 2002-06-20 22:04 UTC
From: pcw4 at cornell dot edu Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.1.2 OS: Win 2k
Private report: No CVE-ID: None
 [2002-06-20 21:23 UTC] pcw4 at cornell dot edu
I am sort of a php/MySql newbie and am encountering a strange bug.  For some reason, the recent databases that I create in MySql will not connect to my php pages... This didn't happen before and the databases that I created a couple of weeks back can still connect to php pages.

For example, a couple of weeks ago, I created a database called "test" with a table called "calender" in it.  Now, when I create another database, call it "test2", and create the exact same table "calender", my php page will not connect to it and gives the following error message 
"Warning: Supplied argument is not a valid MySQL result resource in .."     

I spend many hours trying to figure out what was wrong with it but to no avail...  I have no clue why this happened and I don't recall ever changing the configurations.  Any help from you experts out there will be deeply appreciated... Thank you.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-20 22:04 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 12 22:01:29 2024 UTC