Forums

How can I make this…..?

I need to create page on website fezayarns.com which will display a list of products (thumbnails, you can organize them by name or category). When you click on thumbnail, separate page will open with full description of product. There will be about 200-400 items and new will be added every month. I was thinking about php+mysql…
Just give me an idea where to start. (php, javascript….)
Thank you.

I need to create page on website fezayarns.com which will display a list of products (thumbnails, you can organize them by name or category). When you click on thumbnail, separate page will open with full description of product. There will be about 200-400 items and new will be added every month. I was thinking about php+mysql…
Just give me an idea where to start. (php, javascript….)
Thank you.

That’s a pretty broad question. You’re probably not going to find anyone that will write something up for you, so you might as well start attempting to learn/search for things on your own. Check out the Diving into PHP videos over at nettuts.com (they are linked in a thread that is stickied on this forum). Watch all of them and you’ll probably learn something you can use to accomplish what you need. However, I’ll help out a little.

Anyway, you would probably need to create several general SQL queries for each of your conditions. On your main page you seem like you seem like you want to display all of your products. All of these products (I’m assuming) are already in a database somewhere. For arguments sake, let’s call the database "information."

You’d probably want to connect to your database first. If you’re using PHP, you’d do something like this (I’m assuming you’d be using MYSQL too):

What I wrote is a super basic example, but it might help you a little bit. Only other thing I can say is that you’ll need to do some reading/watching on your own to understand things for your self. Cheers.

Tips

Categories

We have a pretty good* newsletter.

Email Address

CSS-Tricks* is created, written by, and maintained by Chris Coyier and a team of swell people. It is built on WordPress, hosted by Media Temple, and the assets are served by MaxCDN. The fonts are Source Sans Pro and Source Code Pro. It is made possible through sponsorships from products and services we like.