Jump to content

Recommended Posts

Posted

Hello All,

 

I have seen a search method on a web site that I thought would be helpful, the code is

 

<form id="form" name="form" method="post" action="#">

<span>

<input name="q" type="text" class="keywords" id="textfield" maxlength="50" value="Search..." />

<input name="b" type="image" src="images/search.gif" class="button" />

</span>

</form>

 

How could I get this to go on a web site? I'm guessing it might have something to do with the action

 

Thank you as always.

 

Best wishes

Graeme

Posted

yes what you have above is just the html for the form itself. To make the form functional you need some type of sendmail.php script to make it work

 

e.g. <form id="form" name="form" method="post" action="sendmail.php">

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...