Jump to content

Search Buttons


phpnoob90

Recommended Posts

I currently have a real estate website,

it has a search form,

it currently searches the database for all propertys for sale and rent

but would like to change it so that it only searches for rented property

is there a code i can put behind the button to make this possible

the code behind the button is currently onclick="javascript:SearchTop()

for a better idea of what im talking about please see my website

http://www.houseswitch.co.uk

 

any help is much appreciated

Thanks

Link to comment
Share on other sites

if i understood you right you want to a specific search for all properties that's allready been rented by someone... you're probably working with a database i asume.. if you have a row in your table that's something like "Rented" and the value is 0 for not rented and 1 for rented, you can make your script sort out all the entries with the value of 1.

 

did i understand your question right? if i did... did u understand what i ment? =)

 

- Clown

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.