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">

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...