0 also works for AUTO_INCREMENT fields...
> -----Original Message-----
> From: Philip Olson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 23, 2001 18:41
> To: Clayton Dukes
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help INSERTing to MySQL
>
>
>
> > If I knew I could get answers that easy here, I woudn't have worked on this
> > for 20 hours :-)
> >
> > THANKS!!!!
> >
> > btw, field one is an ID field set to auto increment, how can I insert that
> > if I don't know what it is?
>
> In this case use NULL as the value for id and it'll auto increment nicely.
> Using a blank '' will work too. Regarding use of NULL, it's NULL and
> not 'NULL'.
>
> Regards,
>
> Philip
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]