Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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.

Rule #1: Be Respectful

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

Premium Members

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom