Re: Last Record INSERT
| From: | Stuart Dallas | Date: | Wed, 26 Jun 2013 17:56:24 +0000 |
| Subject: | Re: Last Record INSERT | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321503@lists.php.net to get a copy of this message | ||
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.
>
How are you doing the insert? If you're inserting with mysql_query() then that's just as
deprecated as mysql_insert_id().
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/