Re[2]: [PHP] confused big time
| From: | Richard Davey | Date: | Wed, 07 Apr 2004 16:34:34 +0000 |
| Subject: | Re[2]: [PHP] confused big time | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182674@lists.php.net to get a copy of this message | ||
Hello Mark,
Wednesday, April 7, 2004, 5:16:04 PM, you wrote:
MA> it builds the sql statement for you. It covers 99.9% of the inserts
MA> your likely to need. I use an update and insert function like this all
MA> the time. :-)
That .1% of the time being when you need to insert a value as now() ?
(which will break the string check as it'll wrap it with '' which will
cause MySQL to insert 0000-00-00 00:00:00) or if it's an enum field
with a numeric allowed value? :)
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html