Re: mysql/php query problem really bugging me
| From: | Jason Wong | Date: | Tue, 06 Aug 2002 20:59:39 +0000 |
| Subject: | Re: mysql/php query problem really bugging me | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21022@lists.php.net to get a copy of this message | ||
On Wednesday 07 August 2002 04:51, chip.wiegand@simrad.com wrote:
> I have a database and several tables on a mysql server maintained by my
> ISP. I have set up another
> mysql/php/apache server in my office. I have copied the database/tables/web
> pages from the ISP's
> server onto my server. Everything works great on my own server except the
> queries to one particular
> table. Here is the error I am getting:
>
> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
> resource in
> /usr/local/apache/htdocs/bulletin_out.php on line 22
>
> This same page works fine on the ISP's server, but my copy is not working
> on my server.
Have you performed the obvious debugging procedures (like printing out the key
variables to ensure that they contain what you expect)?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Anything anybody can say about America is true.
-- Emmett Grogan
*/