Originally posted by Napster
$keyword = "a perfect circle";
echo "<input type=text name=keyword value=\"$keyword\">";
[/B]
You missed some quotes.
echo "<input type=\"text\" name=\"keyword\" value=\"$keyword\">";
but the original solution is faster anyway.
But depending on where this is faster still might be
<input type="text" name="keyword" value="<?php echo $keyword?>">
Which has the bonus effect of not causing WYSIWYG editors to choke as much.