Re: Last Record INSERT

From: Date: Wed, 26 Jun 2013 18:10:41 +0000
Subject: Re: Last Record INSERT
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-321507@lists.php.net to get a copy of this message
Learning something new everyday is one of the joys of this profession. If you learn two new things, consider yourself lucky :) On Wed, Jun 26, 2013 at 11:03 AM, Samuel Lopes Grigolato < samuel.grigolato@gmail.com> wrote: > AFAIK "mysql_[...]" is deprecated in favor of "mysqli_[...]" correspondent > functions, there's nothing to do specifically with mysql[i]_insert_id. > > > On Wed, Jun 26, 2013 at 3:01 PM, Tedd Sperling <tedd.sperling@gmail.com > >wrote: > > > On Jun 26, 2013, at 1:56 PM, Stuart Dallas <stuart@3ft9.com> wrote: > > > On Wednesday, 26 June 2013 at 18:39, Tedd Sperling wrote: > > >> Let me add, currently I am inserting an email address into a database. > > >> > > >> To find which record was created, I ask for the record number (ID) > back. > > >> > > >> I am asking simply because mysql_insert_id() is deprecated. > > > > Now you tell me. :-) > > > > I learn something new every day of my life... and I'm getting damned > tried > > of it. > > > > Back to the books. > > > > Thanks. > > > > Cheers, > > > > tedd > > > > _____________________ > > tedd.sperling@gmail.com > > http://sperling.com > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- From the desk of Dan Munro

« previous php.general (#321507) next »