Page 1 of 1

PHP Coding: Site Search Bar

Posted: Tue Dec 20, 2011 12:41 pm
by orichh
Hi,

I'm fairly new to coding and am having difficulty with setting up the search bar functionality.

I want the search bar to function, so that when someone enters words into the search bar, it will spit out the results that have relevant words on the pertaining site.

As of right now, I have been able to set up the physical search bar, but I cannot figure out how to enable the search functionality. Currently, I do not know what to enter into the code after <form name="search" action="... <-- any help?

Your help would be much appreciated J

Richard.

Re: PHP Coding: Site Search Bar

Posted: Tue Dec 20, 2011 12:49 pm
by Amanda1998

Code: Select all

action="name_of_script_that_will_execute_the_search_action_for_you.php"
Note tha in this case, is .php ...but can be whatever file extencion your file is
Use this link http://goo.gl/WIYtg ... it may help you..