# Search price-range prob

**URL:** <https://forum.kirupa.com/t/search-price-range-prob/237168>\
**Category:** programming\
**Created:** [August 27, 2007, 8:11pm UTC](https://forum.kirupa.com/t/search-price-range-prob/237168 "2007-08-27T20:11:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pucca](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pucca](https://forum.kirupa.com/u/pucca)\
**Post date:** [August 27, 2007, 8:11pm UTC](https://forum.kirupa.com/t/search-price-range-prob/237168/1 "2007-08-27T20:11:29Z")

</div>

hi, I’m doing a search on a property website. In the database there IS a place where the client can fill in the pricefrom: and the priceto: … AND theres a field where they can fill in the price… They’ve uploaded alot of properties, without filling in the priceto: and price from: fields… but only the Price: …

So now, I’ve done a form, where people can search what properties they’ve got, doing a search with a price range. ex. $0 - $400 000, $401 000 - $700 000 … etc… if that makes sense?

How do I create a code, that gets the price ex. $438 000, and put it in the $401 000 - $700 000 price range?

Hope i’m clear? Thx!
