SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2003
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with Search Form

    I'm very new to PHP been learning it for the past few weeks. My problem is getting the search results for the form below. I just want the results of the information I put in, example: all the jobs from zipcode 90210. How can I do this. I put the code for the form I am using below.

    Code:
     
    <form method="post" action="jobsearch_script.php">
    Interest:
    <select name="interest" class="main">
    <option value="Select">Select
    <option value="249-Office/Clerical" class="main">249-Office/Clerical
    <option value="299-Retail Sales" class="main">299-Retail Sales
    </select>
     
    Position:
    <select name="position" class="main">
    <option value="Select">Select
    <option value="Accounting Clerk">Accounting Clerk
    <option value="Administrative Assistant">Administrative Assistant
    <option value="Answering Service">Answering Service
    </select>
    
    Zip Code: <input type = "text" name="zipcode" size=5 maxlength=5>
    
    City: <input type = "text" name="city" size=20 maxlength=20>
     
    Internship:  Paid<input type = "radio" name="intern" value="Paid">
    Non Paid Training<input type = "radio" name="intern" value="Nonpaid">
    
    Enter after date:<input type="text" name="whens" size="10" maxlength="10">(ex. yyyy-mm-dd 2001-02-01 )
    
    <input type="submit" name="submit" value="Search Jobs" class="main">
    </form>

  2. #2
    SitePoint Addict rabbitdog's Avatar
    Join Date
    Jul 2001
    Location
    So. Tenn.
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Where are your jobs stored? In a database? a flat file?
    Mr Vector
    High quality, royalty free, vector graphics
    for t-shirt artists and graphic/web designers.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2003
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rabbitdog
    Where are your jobs stored? In a database? a flat file?
    It's in a MySql Databases. That would have been helpful if i mentioned that.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •