eduard Posted May 7, 2012 Share Posted May 7, 2012 When do you use searchform.php? Link to comment Share on other sites More sharing options...
ckrudelux Posted May 7, 2012 Share Posted May 7, 2012 (edited) When do you use searchform.php?Based on the file name you chose, I would guess you want to use it then getting specific data from the database based on the query given from the search box. But really if you don't know what you want to do with the file you created why create it at all? Edited May 7, 2012 by ckrudelux Link to comment Share on other sites More sharing options...
dsonesuk Posted May 7, 2012 Share Posted May 7, 2012 when do you use a cricket bata) game of tennisB) game of cricketc) game of badminton Link to comment Share on other sites More sharing options...
thescientist Posted May 7, 2012 Share Posted May 7, 2012 When do you use searchform.php? what's a searchform.php? Link to comment Share on other sites More sharing options...
eduard Posted May 7, 2012 Author Share Posted May 7, 2012 https://www.google.com.ar/search?q=searchform.php&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-AR:official&client=firefox-a Link to comment Share on other sites More sharing options...
ckrudelux Posted May 7, 2012 Share Posted May 7, 2012 (edited) https://www.google.c...lient=firefox-aWhat doesn't tell us more then your first post. Could you be more specific on what you need help with? Continuing on my guess from before: Then making a from in HTML you have a action attribute action should be pointing at searchform.phpThe data from the form is collected in the searchform.php with the $_GET and $_POST variables. Where the index key is the name of the input field in your html. example:<input type="text" name="searchquery" /> $_GET['searchquery'] Edited May 7, 2012 by ckrudelux Link to comment Share on other sites More sharing options...
thescientist Posted May 7, 2012 Share Posted May 7, 2012 https://www.google.c...lient=firefox-a I don't get how a file name and a search for a filename is supposed to tell us anything about what you need help with, what you are trying to do, or what you are having problems with. If you have a question, just ask it. It's never seemed to stop you before. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now