Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Search box

Status
Not open for further replies.
Joined
Jul 20, 2008
Posts
184
Reaction score
4
hello all,

i am using a template for a website which has a search box on it, i do not know how to make it work tho that is my problem can anyone help?

this is the text

<div class="sf_search">
<form method="post" action="">
<p><b>Search:</b> <input type="text" name="search" class="search" /> <input type="submit" value="Go" class="submit" />Find what your looking for! </p>
</form>
</div>

Thanks for any help
 
thats what i thought, what do i need put in there? to say search the site? thanks
 
PHP:
<form method="post" action="searchresults.php">

You need to put the page you are going to call, I have put searchresults.php as a example
 
thanks for that the site is in html so would i but searchresults.html? or is that totally wrong thanks again
 
You may need to take a look at a couple of php tutorials :)

If you going to use the value in your text box, then you will need to do it in PHP
 
ha no wonder i couldnt figure it out with my limited skills, tried swapping it for an adsense google search bar looks alright but not perfect. i`ll have to get learning then cheers for the advice!!!
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom