--- Setting up a SEARCH Forum

Discussion in 'PHP' started by mikejonessmith, Aug 25, 2009.

  1. #1
    I want to start by thanking you for reading this post. I am looking for help with setting up a website (search). I am hoping someone can direct me or help me complete my task.


    I have started creating the boxes, for the follow.

    Last Name (or Company):
    First Name (or Initial):
    Province:

    I need help completing the the search forum using a "ATOM".


    the example below ... is the start... however I need help so it will go out to "get" the information and then results page.



    <FORM ACTION="../search.php" NAME="SearchPage" METHOD="POST">
    <div>&nbsp;</div>
    
    <tbody><tr>
    <td><form name="search" method="get" action="search.php">
    <center><b><font face="Arial,Helvetica"><font size="+1">Search For UFO's:</font></font></b></center>
    
    	 <form method="get" action="http://---HERE---.atomz.com/">
    
    <table>
    <tbody><tr>
    <td align="RIGHT"><font face="Arial,Helvetica">Last Name (or Company):</font></td>
    
    <td><input name="last_name" size="15" onfocus="this.style.background='FFFFFF';" onblur="this.style.background='F9F9F9';" type="text"></td>
    </tr>
    
    <tr>
    <td align="RIGHT"><font face="Arial,Helvetica">First Name (or Initial):</font></td>
    
    <td><input name="first_name" size="15" onfocus="this.style.background='FFFFFF';" onblur="this.style.background='F9F9F9';" type="text"></td>
    </tr>
    
    <tr>
    <td align="RIGHT"><font face="Arial,Helvetica">Province:</font></td>
    
    <td><select name="prov"><option selected="selected" value="">All</option><option value="AB">Alberta</option><option value="BC">British
    Columbia</option><option value="MB">Manitoba</option><option value="NB">New
    Brunswick</option><option value="NF">Newfoundland</option><option value="NS">Nova
    Scotia</option><option value="NT">Northwest Territories</option><option value="ON">Ontario</option><option value="PE">Prince
    Edward Island</option><option value="PQ">Quebec</option><option value="SK">Saskatchewan</option><option value="YT">Yukon
    Territory</option></select></td>
    
    </tr>
    </tbody></table>
    
    
    <br>
    <center><input style="border: 0pt none ; padding: 0pt; background-color: rgb(220, 20, 60); color: rgb(255, 255, 255); font-weight: bold;" value="Search" type="submit"></center>
    </form></td>
    </tr>
    </tbody></table></center>
    
    Code (markup):
     
    Last edited: Aug 25, 2009
    mikejonessmith, Aug 25, 2009 IP
  2. a53mp

    a53mp Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did you follow the instructions?
     
    a53mp, Aug 25, 2009 IP
  3. mikejonessmith

    mikejonessmith Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #3
    sorry, but what are you asking ? what instructions?

    is my question not clear?

    Thanks for your reply
     
    Last edited: Aug 25, 2009
    mikejonessmith, Aug 25, 2009 IP
  4. a53mp

    a53mp Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You have a form action="search.php" at the top, but in the code you have a <form method="get" action="http://---HERE---.atomz.com/">


    atomz.com looks like a site search site, you need to create an account at atomz.com and set up your search there and follow the directions. I havent used atomz before, but thats what it looks like to me.
     
    a53mp, Aug 25, 2009 IP
  5. mikejonessmith

    mikejonessmith Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #5
    Fantastic, I am now starting to understand.

    I have not created a "search" before. And I am sorry... but have no idea the process involved.

    However from your notes. I am starting to understand


    You have a form action="search.php" at the top, but in the code you have a <form method="get" action="http://---HERE---.atomz.com/">
    Code (markup):
    Sorry but please do not laugh. Your Basic advice, or your basic directions are ?

    Delete the code above?, Mod the code above?


    can you help me with some code ... examples ?
     
    mikejonessmith, Aug 25, 2009 IP
  6. a53mp

    a53mp Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There are a lot of options.. you can do it through that, or sites like it.. like using google, or create a custom search, there are even scripts you can run that will index your site and run the search from there. Creating a custom search can be fairly easy, or very complex.. just depending on what you are searching for and things like that.

    If you arent very familiar with php and databases, or html.. you may want to look into hiring a programmer who can do the job correctly for you
     
    a53mp, Aug 26, 2009 IP
  7. mikejonessmith

    mikejonessmith Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #7
    wow, thanks. I almost have a site setup however the last and hardest part.

    Thanks for you replies and advice.
     
    mikejonessmith, Aug 26, 2009 IP
  8. a53mp

    a53mp Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    No problem.. look into google search as well.. but make sure you sign up at that site and read through their docs so you will see what they are actually doing and what you need to do to integrate it into your site.


    good luck
     
    a53mp, Aug 26, 2009 IP
  9. mikejonessmith

    mikejonessmith Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #9
    Thank you for the help. I believe you were correct.

    I had to setup an account .. going through it now
     
    mikejonessmith, Aug 26, 2009 IP