-----Original Message-----
From: Ryan Jameson (USA) 
Sent: Wednesday, June 26, 2002 1:59 PM
To: 'Chris Payne'
Subject: RE: [PHP-DB] Last ID from database?

It depends on if you just inserted it, if you did:


if not, you'll need to do a query for SELECT max(ID) as lastID from Table


<>< Ryan

-----Original Message-----
From: Chris Payne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 1:57 PM
Subject: [PHP-DB] Last ID from database?

Hi there everyone,
How Can I grab just the LAST ID from a database in MySQL with PHP
Thanks you :-)

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to