In short, I'm creating a stock portfolio website where users can track their investments. Different users can log onto the system but the problem I have is that they are all able to display the same information, as in the same portfolio of stocks. I have implemented sessions but due to not much experience with this, maybe I've done something wrong. I just simply want each user to have their own table in the database (or whatever way is best to do so) so that they can only view their investments when they log in. What's the best way of going about this? Thanks.
PHP. I was looking around other forums and noticed that instead of tables, I maybe should use foreign keys and link stocks to users that way...
They don't have their own table, work through some basic tutorials for things like guest books and see how tables are joined. Once you understand that you'll see how to keep people's investment info separate.