Re: [PHP-DB] Inseting info into MySQL and retrieving all in one SQL command

2001-08-19 Thread CrossWalkCentral
Question how do you use this function? mysql_insert_id(); I have tried it and it gives me and error every time any one have any sample conde on this -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! Beau Lebens [EMAIL PROTECTED] wrote in message [EMAIL

RE: [PHP-DB] Inseting info into MySQL and retrieving all in one SQL command

2001-08-08 Thread Beau Lebens
not so much in one step, but once you have inserted it you can call the function mysql_insert_id(); and it will return the auto_increment value of the last insert operation. see the manual for more. HTH Beau // -Original Message- // From: Scott Mebberson [mailto:[EMAIL PROTECTED]] //