In message <[EMAIL PROTECTED]>, John Magee
<[EMAIL PROTECTED]> writes
>
>  ----- Original Message ----- 
>  From: Brian E Boothe 
>  To: php-list@yahoogroups.com 
>  Sent: Saturday, November 08, 2008 1:44 PM
>  Subject: [php-list] Id autoincrement
>
>
>  argg on my form id is an autoincrement Value  why is it tell me id 
>  cannot be null
>   "how can i get it in Automatically ???
>
>
>  You have to write your insert properly so that it doesn't include the the 
>field name that's supposed to be auto incremented

It sounds as though you are saying that you are having problems
inserting a record, and the autoincrement is not working when you try to
do that.

You could also default the value that you are inserting into the
autoincrement to 0.

-- 
Pete Clark

Advertise your events in Spain - local and free
http://hotcosta.com/events.php

Reply via email to