Re: confused big time
| From: | Andy B | Date: | Wed, 07 Apr 2004 02:33:40 +0000 |
| Subject: | Re: confused big time | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182589@lists.php.net to get a copy of this message | ||
> He was showing you a neatly formatted query, the example applies to
> inserts too:
>
> $sql = "
> INSERT INTO
> tablename
> (
> field1,
> field2,
> field3
> )
> VALUES
> (
> '$blah',
> $here',
> '$etc'
> )
> ";
>
> There you have a visually instant way of telling where the missing '
> is.
>
> --
> Best regards,
> Richard Davey
>
sorry i got it now... didnt quite get it all right away but it does look
better that way more than anything (at least easier to deal with)...