I need to change the way I'm doing things right now and need to know if PHP and MySql are the way to go for my project. I understand this isn't the MySql forum but I figure that many of you who use PHP also use MySql.
I have a couple of websites that feature products. The products are represented by product data, eg. name, dimension, price, etc. Additionally, there are 2 primary images for each product, a thumbnail and a larger image. Also, there may be 1 or more additional images.
A single html page shows thumbnails and by clicking on a thumbnail, the associated product page is displayed.
Each product (information and images) is displayed in on its own html page. When I add a new product, I create a new page an insert the unique information and images about the product. Aside from the unique information, all pages are the same, e.g, same navbar, sidebar, copyright, css, etc.
Here's my question...
Rather than create a new html for each product and update the thumbnail page with the newest product thumbnail with a link to the new product page, can PHP in combination with MySql be used to create only one product page where the product information and image names are pulled from the database and used in the php file to display the appropriate product information.
Thanks a bunch for any info that you may be able to provide on this subject.
I have a couple of websites that feature products. The products are represented by product data, eg. name, dimension, price, etc. Additionally, there are 2 primary images for each product, a thumbnail and a larger image. Also, there may be 1 or more additional images.
A single html page shows thumbnails and by clicking on a thumbnail, the associated product page is displayed.
Each product (information and images) is displayed in on its own html page. When I add a new product, I create a new page an insert the unique information and images about the product. Aside from the unique information, all pages are the same, e.g, same navbar, sidebar, copyright, css, etc.
Here's my question...
Rather than create a new html for each product and update the thumbnail page with the newest product thumbnail with a link to the new product page, can PHP in combination with MySql be used to create only one product page where the product information and image names are pulled from the database and used in the php file to display the appropriate product information.
Thanks a bunch for any info that you may be able to provide on this subject.