Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

retrieving auto increment number

Codes here !

Moderators: macek, egami, gesf

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.
User avatar
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Return to mySQL & php coding

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.