I m developing a php site for mobile phones. It’s home page has images of several phones, all are having a unique Id.(1,2,3,…).So when I click on an Image a the page should be redirected to another page(Details.php) and display images and information related to the image that I just clicked. I tried doing this using a session variable but if so I’ll have to use separate session variable to each phone. How can I solve this issue. Please help.
Thanks in advance.
You could use a GET variable to pass those information.
index.php or whatever where the phones are listed
And at the details.php. You can use this
Another easier way is to use mySQL to list all the phones.