From: Joe Stump [EMAIL PROTECTED]
To: Jacky@lilst [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 24, 2001 9:25 PM
Subject: Re: [PHP] Urgent help needed, sound scary when anyone did that on
title :-)
remove the result - so just type $id = mysql_insert_id() and it should
work
fin
you know Jacky, there's another, less cool and less reliable way to get the
last inserted id:
SELECT id FROM table ORDER BY id DESC;
it will sort them all giving you the biggest id *number* (not what mysql
keeps) and you can keep it for as many milliseconds your script will run
more...
So if
CTED]
To: 'Jacky@lilst' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 24, 2001 10:22 PM
Subject: RE: [PHP] Urgent help needed, sound scary when anyone did that on
title :-)
you know Jacky, there's another, less cool and less reliable way to get
the
last inserted id:
SELECT
3 matches
Mail list logo