I use seperate pages. Just name the script page the same name as what the form page calls for.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
I use seperate pages. Just name the script page the same name as what the form page calls for.
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);
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?