Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes

Does each user need to have their own table in the database in order to see which classes they are registered for? If so, how do you create a table for each user?

asked in CSC215 by (1 point)

1 Answer

+5 votes
 
Best answer

For our project we decided to make a new table for every new user who creates a username and password and then signs into our website. We used the new, unique username as the name of each new table. To create the table we used the same concept that was used on the "Create Table using the PHP Code" homework assignment, and we added that code into our user registration page.

answered by (1 point)
selected by
...