TylerRLD Posted April 28, 2013 Share Posted April 28, 2013 Mysql version 5.0 Currently i have it set up for high scores. I can correctly send NAME and SCORE to the mysql table. It is set up to automatically assign an "id" to the input using auto_increment. How can i ask the server for the "id" after i input the name and score and then print it on the page? Quote Link to comment Share on other sites More sharing options...
fenway Posted April 28, 2013 Share Posted April 28, 2013 LAST_INSERT_ID() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.