Re: Query Results Question
| From: | Harlequin | Date: | Wed, 04 Aug 2004 02:11:41 +0000 |
| Subject: | Re: Query Results Question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192653@lists.php.net to get a copy of this message | ||
Curt.
Thanks for the pointer and yes, I should be doing that and overlooked it
this time.
It's working now as I seem to be echoing the second record in the table and
will plug away at getting the table defined.
Thanks for all your help Curt.
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message
news:20040804015853.GH6522@bagend.shire...
> * 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!