Re: PHP and using mysql_last_id()

2004-03-16 Thread Lorderon
ert_id but support a zerofill auto > increment int? > > ~Elle~ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 5:19 AM > To: [EMAIL PROTECTED] > Subject: Re: PHP and using mysql_last_id() > > > &

RE: PHP and using mysql_last_id()

2004-03-16 Thread Elly Wisata
Does php have a function like mysql_insert_id but support a zerofill auto increment int? ~Elle~ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 5:19 AM To: [EMAIL PROTECTED] Subject: Re: PHP and using mysql_last_id() Hi can anyone

Re: PHP and using mysql_last_id()

2004-03-16 Thread Alex croes
sgannon60 wrote: Hi can anyone tell me how to use php's mysql_last_id() or MySQL's INSERT_LAST_ID I personnaly think mysql_last_id will never work..., but try mysql_insert_id() This will generate the ID of the PREVIOUS insert query. So it has to be mysql_insert_id()+1 Alex -- MySQL Genera

Re: PHP and using mysql_last_id()

2004-03-16 Thread jeffrey_n_Dyke
Hi can anyone tell me how to use php's mysql_last_id() or MySQL's INSERT_LAST_ID - php's function is mysql_insert_id() and not mysql_last_id(), there is no php function called mysql_last_id()...if you saw that in a manual, i'd email the owner of the document. http://php.net/mysql_