Hi,
I have a form that submits data to mysql database then proceeds to use mail()
How can I grab the id from the entry and send it along with mail()
Thanks
| SitePoint Sponsor |




Hi,
I have a form that submits data to mysql database then proceeds to use mail()
How can I grab the id from the entry and send it along with mail()
Thanks
After you've inserted the data, you can use mysql_insert_id($connection) to get the id of the row you've just inserted.




well metacube..
that done a trick....
ArunKumar
Where there is a will there is a way![]()
ArunKumar




Hi,
Too easy ..
Thanks
Bookmarks