Inserting in a Database issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hmsg
Forum Commoner
Posts: 42
Joined: Sun May 14, 2006 9:48 am

Inserting in a Database issue

Post by hmsg »

Hi.

I have a php script that insert data into a table in mysql. In that table is a field 'id' that is auto_increment, is there anyway to get the 'id' of the record i inserted?

with the best regards

Hugo Gomes
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply