Re: Query Results Question
| From: | Curt Zirzow | Date: | Wed, 04 Aug 2004 01:58:53 +0000 |
| Subject: | Re: Query Results Question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192650@lists.php.net to get a copy of this message | ||
* Thus wrote Harlequin:
> Richard
>
> Thanks firstly for your help. I renamed the fields so the spaces are
> underscores and amended your query but still receive an error:
>
> "not a valid MySQL result resource "
>
> Still tinkering though...
All this tinkering and database schema's are simply the long way
around things. Just use mysql_error() after you query.
mysql_query($sql) or die(mysql_error());
You'll know exactly whats wrong.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!