marcusami
04-29-2008, 03:39 PM
Alright what I have made is a console very similar to a shopping cart, except you dont buy anything online. An admin logs in uploads up to 3 pictures, a title, a price, a description. It creates a page for each item, and all items are listed on a general page.
The individual pages for each item are actually not calling the info from the db. The pages are created when they submit all the info, pics, price ect with php. So i am changing it so that the individual product page will now instead recall the info from the database - because i realized by hardcoding the info in that the admin couldnt actually go back and edit the information.
But I am pretty stuck on trying to get the generated page to display the information from the database. I am pretty new with mysql/php .
Ive been trying to figure out a way to write the ID of the entry to the new page so I can then look up the product in the DB by its ID and display all information of the product.
Sorry if I made this really confusing but I am confused
If you could help push me in the right direction id appreciate it
thanks
Marcus
The individual pages for each item are actually not calling the info from the db. The pages are created when they submit all the info, pics, price ect with php. So i am changing it so that the individual product page will now instead recall the info from the database - because i realized by hardcoding the info in that the admin couldnt actually go back and edit the information.
But I am pretty stuck on trying to get the generated page to display the information from the database. I am pretty new with mysql/php .
Ive been trying to figure out a way to write the ID of the entry to the new page so I can then look up the product in the DB by its ID and display all information of the product.
Sorry if I made this really confusing but I am confused
If you could help push me in the right direction id appreciate it
thanks
Marcus