Hi, I¹m looking for some code that will best give me the last INSERTED ID in a PostgreSQL database using PHP ? It would be the equivalent to the function - mysql_insert_id(). http://ca3.php.net/mysql_insert_id Is there a simple way to do this ? Thanks, Steve -- steve bissonnette director of production steve at plankdesign.com PLANK. A multi-faceted-media company. http://www.plankdesign.com v. 514.875.0003 f. 514.875.7611