Jump to content

Advanced Search Forms


Recommended Posts

Good Day People

 

I need help on PHP Coding for this form to work write, can anyone help me with this?

 

<div class="col-lg-4 col-md-4 col-sm-12">

                        <div class="searchmodule clearfix" data-effect="slide-right">

                        <form id="advanced_search" action="#" class="clearfix" name="advanced_search" method="GET">

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="country"><b>Country</b></label>

                                 <input type="text" name="country"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="location"><b>Location</b></label>

                                  <input type="text" name="location"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="status"><b>Status</b></label>

                                  <input type="radio" name="from" value="For Rent"><b><span style="color: #0A0000">For Rent</span></b></input><br />

                                 <input type="radio" name="from" value="For Sale"><b><span style="color: #0A0000">For Sale</span></b></input>

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="type"><b>Type</b></label>

                                 <input type="text" name="type"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="bedrooms"><b>Bedrooms</b></label>

                                 <input type="text" name="bedrooms"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="baths"><b>Bathrooms</b></label>

                                 <input type="text" name="baths"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="min_price"><b>Min Price</b></label>

                                 <input type="text" name="minprice"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="max_price"><b>Max Price</b></label>

                                 <input type="text" name="maxprice"><br /><br />

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="condition"><b>Condition of Use</b></label>

                                 <input type="radio" name="from" value="Furnished"><b><span style="color: #0A0000">Furnished</span></b></input><br />

                                 <input type="radio" name="from" value="Not Furnished"><b><span style="color: #0A0000">Not Furnished</span></b></input>

                            </div>

                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">

                                <label for="from_the"><b>From The</b></label>

 

                                 <input type="radio" name="from" value="Agent"><b><span style="color: #0A0000">Agent</span></b></input><br />

                                 <input type="radio" name="from" value="Private"><b><span style="color: #0A0000">Private</span></b></input>

 

                            </div>

                            <div class="clearfix"></div>

                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">

                                <a href="#" class="btn btn-inverse btn-block">SEARCH PROPERTY</a>

                            </div>

</form>

 

 

 

 

                        </div>

</div>

Link to comment
https://forums.phpfreaks.com/topic/288286-advanced-search-forms/
Share on other sites

i dont think this is a php issue.  youre missing a submit input.  looks like youre using this

<a href="#" class="btn btn-inverse btn-block">SEARCH PROPERTY</a>

where you need something more like

<input type="submit" name="submit_button" value="SEARCH PROPERTY" />

or if you want an image button you can do

<input type="image" src="[image path]" name="submit_button" />

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.