Richard Emery wrote:
> 
> I've seen other responses to your request answer with some VERY UGLY methods
> to get the last id.

Hey my method wasn't ugly, perhaps not optimal, but definately not ugly!
So *ptttttht* ;)

> Instead, use mysql_insert_id() which was created specifically for the info
> you need.

Ummm yeah... I was gonna say that too, BUT FORGOT!

Cheers,
Rob.
-- 
.-----------------.
| Robert Cummings |
:-----------------`----------------------------.
| Webdeployer - Chief PHP and Java Programmer  |
:----------------------------------------------:
| Mail  : mailto:[EMAIL PROTECTED] |
| Phone : (613) 731-4046 x.109                 |
:----------------------------------------------:
| Website : http://www.webmotion.com           |
| Fax     : (613) 260-9545                     |
`----------------------------------------------'

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

Reply via email to