Menu

Search Option

Anonymous
2003-02-06
2003-09-02
  • Anonymous

    Anonymous - 2003-02-06

    Could anyone tell me how you set up a search page properly I keep getting a few errors one being

    Parse error: parse error, unexpected '<' in /users/siha/www/search.php on line 3

    Do you include both the scripts in one page or seperate.
    Thanks

     
    • Richard Bongiovanni

      I use seperate pages.  Just name the script page the same name as what the form page calls for.

       
    • Anonymous

      Anonymous - 2003-02-14

      I have tried just using 2 pages but get this, any ideas
      Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /users/siha/www/searchscript.php on line 9
      $querysearch="select * from fixtures02 where day like '%$keyword%' or date like '%$keyword%' or agegroup like '%$keyword%' or hometeam like '%$keyword%' or homescore like '%$keyword%' or awayteam like '%$keyword%' or awayscore like '%$keyword%' or time like '%$keyword%' "; $resultsearch = MYSQL_QUERY($querysearch);

       
    • Jennifer Zelazny

      I am having the same problem with the parse error on line 3.  I am using 2 separate files, one with the form (made from search form maker), and the other that has the actual php code in it (made from search script maker).  The form page works, but when I hit submit on the form, it then goes to the php code page and I get the parse error.  Any thoughts?       

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.