• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

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.
Top Bottom