Create Product Pages - PHP + Mysql

Asked

Viewed 72 times

-1

Good night!

I am making a virtual store and I would like to know if there is the possibility of making a single product page where the user clicks on the product and the information is loaded dynamically. Or if I have 100 registered products I will have to make 100 pages of different products?

1 answer

1


The correct thing would be to make a single product page where the user clicks on the product and the information is dynamically loaded, according to the information in the bank.

If you don’t have a lot of knowledge developing, I recommend starting something with PHP, maybe you’ll end up doing something "macaronic" with a little XGH, but in case you need it as soon as possible is the best way.

  • 1

    Bruno, I created a page called product.php where when clicking on the product I sent his ID in the bank by the url and I was able to redeem via $_GET on this page.

  • I’m glad you made it! Just don’t forget if you’re going to pass something that if you’re going to send data that can’t appear on the link use $_POST.

  • 1

    Thanks for the tip Bruno. On this page step only id and product category.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.