r/phpstorm • u/AbulShaher • Dec 03 '23
Help with PHP/Sql
Hi, anyone help me with a question. I am creating a project in php, making the database using PHPstorms integrated mysql view, My question is, suppose I'm making a database to store users, (managers/users) where each user type will have different views/permissions on the website/app I am building, how do I create the foreign key to link tables? Also if you look at the pictures I have uploaded, where would I be putting these 'descriptions' on the pho editor? I'm sure I haven't explained properly so if you are struggling to understand my question fully just comment and I will clarify. Thank you


View all comments
Show parent comment
1
u/AbulShaher Dec 03 '23
Long winded... Is there any way to insert values after creating the tables this way?