PHP Coding: Site Search Bar

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
orichh
Forum Newbie
Posts: 1
Joined: Tue Dec 20, 2011 12:37 pm

PHP Coding: Site Search Bar

Post 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.
Amanda1998
Forum Newbie
Posts: 23
Joined: Tue Dec 13, 2011 10:25 am

Re: PHP Coding: Site Search Bar

Post 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..
Post Reply