retrieving auto increment number

Codes here !

Moderators: macek, egami, gesf

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Mon Jul 14, 2003 10:33 am

If the user has a unique username, just do SELECT matching the username in order to get the id. If not, you're probably going to just have to assign your own ids instead of using auto_increment.

Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 1 guest

cron