Re: Assigning data to fields
| From: | Ken | Date: | Sat, 28 Sep 2002 01:55:41 +0000 |
| Subject: | Re: Assigning data to fields | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117911@lists.php.net to get a copy of this message | ||
I used the examples you have lead me to and I get this error? I am stumped?
mysql_fetch_array(): supplied argument is not a valid MySQL result resource
in /home/pay.php on line 51
Have any idea what this means?
Thanks!
"Brad Bonkoski" <bbonkosk@tampabay.rr.com> wrote in message
news:3D94F340.B87D169F@tampabay.rr.com...
> I think this should be a good reference for you:
> http://www.php.net/manual/en/function.mysql-fetch-array.php
>
> HTH
> -Brad
>
> Ken wrote:
>
> > I am kind of new to PHP. I know how to use a select statement and a
query to
> > get data out of a table in MySQL, but how do I assign those fields to
> > variables? I know this must be easy! Thanks in advance!!
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>