So your looking how to display one thing and not the other?
to be able to sort them. So if I have products listed across say 2 pages each with different pricing I want a way to be able to sort them ascending or descending based on price. I guess I could set them up ascending to begin with. I don't have to have that capability but I think it would certainly help my site.
What are you going to be listing?
It all depends on how the data is brought in. If you'll be hard coding in the values, than you'll have to use javascript. There are tools out there to help. Granted, they're a bit advanced for an outright beginner, but you seem bright enough to pick it up.
If you're bringing things in dynamically -- from a database, for example -- than you should use a server side language. For example, if you're storing products, prices, brands etc... in a MySQL database, it's easy to tell PHP to sort the results accordingly.
With hardcoded values (or to sort things on the client side .. i.e. without having to reload the entire page), I would use something like this.
Hope that helps.![]()
Thanks I'll take a look through that. Thanks to both of you for the help. I'm trying to write a website from scratch and am teaching myself how as I go along. I don't have much time with a full time job and trying to get licensing in order to start a few businesses on top of this so I don't want anything to advanced, i.e. database linking or programming. thanks again, Steve
Bookmarks