I'm a little confused about how to grant user permission whe they come to my web page. Two cases come to mind.
1. Say I have a db I just want to display to a user. Any one who surfs to my page can see this db. So, would I just grant select privilages to everybody? What would be the php code?
2. Say I make a shopping cart someday. Then wouldn't all users need permission to insert of modify tables in some way?
#1 is more important to me right now - just want to render a db on the web to a surfer - just show the data.
Thanks
1. Say I have a db I just want to display to a user. Any one who surfs to my page can see this db. So, would I just grant select privilages to everybody? What would be the php code?
2. Say I make a shopping cart someday. Then wouldn't all users need permission to insert of modify tables in some way?
#1 is more important to me right now - just want to render a db on the web to a surfer - just show the data.
Thanks