You'll have to use javascript for this. Something like this:
HTML Code:
<form id="aform" method="get" action="golf.php">
<input type="text" name="keywords" />
<input type="button" id="submit" value="Go" />
</form>
Then in your JS you put:
Code:
document.getElementById('submit').onclick = function () {
var keywords = '"' . document.getElementByName('keywords').value . '"';
document.getElementByName('keywords').value = keywords;
document.getElementById('aform').submit();
}
There may be a better way to do it though, but that's how I would do it.
Bookmarks