Need help with a PHP script to search database

Discussion in 'PHP' started by muslimsintheus, Jun 9, 2011.

  1. #1
    I have a form that searches a Mysql Database http://123pizzadelivery.com/search33.php

    I need to take off the drop down menu and leave just the Search text box. When I do it the search does not work please help me.

    Thank you in advance
    <form method="post" action="http://123pizzadelivery.com/results.php" target="_blank">
    <div align="center">
    
    <td bordercolor="#000000">
    <p align="center">
    <select name="metode" size="1">
    <option value="Zip">Zip Code</option>
    </select> <input type="text" name="search" size="25" value="73118">  <br>
    <input type="submit" value="Go!!" name="Go"></p>
    
    </td></div>
    
    </form>
    Code (markup):
     
    muslimsintheus, Jun 9, 2011 IP
  2. webdesignbarrie

    webdesignbarrie Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <form method="post" action="http://123pizzadelivery.com/results.php" target="_blank">
    <div align="center">

    <td bordercolor="#000000">
    <p align="center">
    <input name="metode" type="hidden" value="Zip">
    <input type="text" name="search" size="25" value="73118"> <br>
    <input type="submit" value="Go!!" name="Go"></p>

    </td></div></form>
     
    webdesignbarrie, Jun 9, 2011 IP
  3. muslimsintheus

    muslimsintheus Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you So much. You are the best. Please let me know if there is anything I cam do to help you.

    Have a wonderful day :)
     
    muslimsintheus, Jun 9, 2011 IP