Re: [PHP] Last Record INSERT

[email protected] (Stuart Dallas)
Newsgroups php.general
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.