I tried to search for different things in mysql and php but couldnt find anything
I am trying to list a price range for products
example: $XXX - $XXX
pulling it from a list in mysql. I was wondering if anyone had any idea of where to get some ideas?
Thanks ahead of time.
Price range coding
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
You're probably looking for the BETWEEN construct.
http://dev.mysql.com/doc/refman/5.1/en/ ... on_between
http://dev.mysql.com/doc/refman/5.1/en/ ... on_between