adi123 Posted September 7, 2010 Share Posted September 7, 2010 I have a table in my database for users. On the registration page I want to create another table with the id of the user as the table name. $sql = "CREATE TABLE IF NOT EXISTS `id_prod` ( ) how do i modify this line so that it takes the id from the user table and creates a new table with id as name followed by prod. Link to comment https://forums.phpfreaks.com/topic/212773-create-table-using-id-as-name/ Share on other sites More sharing options...
Pikachu2000 Posted September 7, 2010 Share Posted September 7, 2010 Why would you want to add a DB table for each registered user? Link to comment https://forums.phpfreaks.com/topic/212773-create-table-using-id-as-name/#findComment-1108316 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.