Jump to content

PHP MYSQL Search Form


kwmlr439

Recommended Posts

Gurus,

 

My question is that i need help on how to build the tables and the php code. Here is my HTML Form:

 

<form role="search" method="post" id="searchform" action="#" >

<input type="hidden" value="" name="s" />

 

<input type="hidden" value="listing" name="post_type" />

<select name='State' id='State' class='state'>

<option value="Select a State" selected>Select a State</option>

</select><select name='county' id='county' class='county'>

<option value="Select a County">Select a County</option>

</select><select name='city' id='city' class='city'>

<option value="Select a City">Select a City</option>

</select>

<select name='company' id='company' class='company'>

<option value="Select a Company">Select a Company</option>

</select><select name='agent type' id='agent type' class='agent type'>

<option value="Agents Type">Agents Type</option>

</select>

<input type="submit" id="searchsubmit" class="searchsubmit" value="Search Real Estate Agents" />

</form>

Link to comment
Share on other sites

We are not clairvoyant and have no idea of what data you need to store, so telling you how to design your tables is not an option. Other than to point in the direction of "data normalization".

 

We do not write your code, at least not for free. Post in our freelance forum if that is what you need

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.