MySQL question

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
izak30
Forum Newbie
Posts: 5
Joined: Tue Dec 19, 2006 1:29 pm

MySQL question

Post by izak30 »

ok, if I insert data into a db, is there a function that immediately returns the ID given to the data?
I want to name an uploaded file in this form "[tableid].extension"
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

izak30
Forum Newbie
Posts: 5
Joined: Tue Dec 19, 2006 1:29 pm

Post by izak30 »

thanks!
Post Reply