Re: Problem running sql stored in the database
| From: | Ryan A | Date: | Fri, 09 Apr 2004 15:31:31 +0000 |
| Subject: | Re: Problem running sql stored in the database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182998@lists.php.net to get a copy of this message | ||
On 4/9/2004 5:22:12 PM, John Nichel (john@kegworks.com) wrote:
> John W. Holmes wrote:
> > From: "John Nichel" <john@kegworks.com>
> >
> >>>Don't use single quotes.
> >>>
> >>
> >>$sql = "INSERT INTO table (id, name) VALUES ( '" . $id . "',
> >>'" . $name
> >>. "')
> >
> >
> > awww, come on... someone besides me had to understand wtf Ryan was
> > blabbering about, right????
> >
> > ;) ;) ;)
> >
> > ---John Holmes...
>
> I have blabbering turned off today. :o ;)
Happy to see I bring so much intelligent conversation to the list :-p
Cheers,
-Ryan