Re: Newly inserted record ID

From: Date: Sun, 30 Apr 2006 17:53:05 +0000
Subject: Re: Newly inserted record ID
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-41787@lists.php.net to get a copy of this message
I am very new to the list, but I get the impression that Jonathan below is rather new to programming in PHP/MySQL and lists like these are great resources for people without the many years of experience some of us have. And while mysql_insert_id() is old hat to most of us, to people with less experience it is not so obvious. So I'm always dissapointed to see more experienced programmers say things like Stut has said below because they tend to intimiate inexperienced coders, make them shy away from asking questions out of fear that gurus like Stut will say the kinds of things he has said below. For this reason I'm going to unsubscribe from the list, lest I ask a question and get similar treatment. Jonathan, if you have any other questions you feel might get you jumped on again for asking please feel free to email me directly. And Stut, please please please please please consider other peoples' feelings before you go shooting off your "freaking" mouth. Jonathan probably is reading the manual, but may missed the small section on mysql_insert_id(). And for that he doesn't deserve your scron. Sign me, ... unsubscribed from this list, Skip Stut wrote:
JONATHAN GRAVOIS wrote:
Thanks to the help of this list, I am making great progress. Now this -- I have a multi-part submission form for a support application for us, the manufacturer - the reseller's information is submitted, the customer's information is submitted, then the warranty support information needs to be submitted. How can I retrieve the CustomerID after I insert a record into the customer table in mySQL and pass it to the CSQdetails.php page?
http://php.net/mysql_insert_id And please please please please please read the freaking manual before asking questions here! -Stut
-- Skip Evans Big Sky Penguin, LLC 61 W Broadway Butte, Montana 59701 406-782-2240

« previous php.db (#41787) next »