> 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)...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to