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? Link to comment https://forums.phpfreaks.com/topic/277395-print-returned-data-from-mysql/ Share on other sites More sharing options...
fenway Posted April 28, 2013 Share Posted April 28, 2013 LAST_INSERT_ID() Link to comment https://forums.phpfreaks.com/topic/277395-print-returned-data-from-mysql/#findComment-1427029 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.