toyfruit Posted December 16, 2008 Share Posted December 16, 2008 HI All - I'm sure the question was not clear, so let me clarify ... I am building a small photography site, what I want to do is have a database table created for a user when a session starts. I want to store the data for any photo they select and put it in their unique table. I then want to use this table to generate a shopping basket where they can update quantities, change papertypes etc. I also want to give each item a unique identifier which I will then use in a download link, I want to then restrict the amount of times an item can be downloaded. Is this the right way of going about this, and if so how do I go about it! If not, can you suggest a better method? Quote Link to comment https://forums.phpfreaks.com/topic/137187-how-to-store-multiple-items-in-a-unique-table-based-on-a-user-session/ Share on other sites More sharing options...
fenway Posted December 16, 2008 Share Posted December 16, 2008 I am building a small photography site, what I want to do is have a database table created for a user when a session starts. Bad idea. Quote Link to comment https://forums.phpfreaks.com/topic/137187-how-to-store-multiple-items-in-a-unique-table-based-on-a-user-session/#findComment-717151 Share on other sites More sharing options...
trq Posted December 16, 2008 Share Posted December 16, 2008 If your not planning on keeping the data, why not stick to sessions? Quote Link to comment https://forums.phpfreaks.com/topic/137187-how-to-store-multiple-items-in-a-unique-table-based-on-a-user-session/#findComment-717195 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.