Forum Moderators: open
1. What do I need to add to the script?
2. What page: first or result page?
script from results page:
blockquote>
<blockquote>
<div align="center"><font color="#408080">
<input type="hidden" name="ass" value="0001">
<input type="hidden" name="details" value="1">
<input type="hidden" name="nres" size=1 maxlength=2 value=15>
<input type="hidden" name="nfs" size=1 maxlength=2 value=15>
<font color="#000000">Search again:</font>
<input type="text" name="qry" size=30 style="font-size:12px" value="">
<input type="submit" name="cmdSearch" value="Go" style="font-family:Verdana;font-size:12px;">
<a href="%5C"><font color="#408080"><strong> <font color="#000000"><<Home
page</font></strong></font></a></font></div>
</blockquote>
</blockquote>
</blockquote>
</form>
<p align="left" style="font-size:14px;">
<?
if ($qry!= "") echo "You searched for <b>". htmlspecialchars($qry) . "</b> : ";
if ($resultset["NUMRESULTS"]!= 0) {
echo "Showing Results " . ($offset+1) . " - " . ($offset + $resultset["NUMRESULTS"]);
What you want is this:
echo "<input type="text" name="qry" size=30 style="font-size:12px" value="$qry">";
My keyboard will not let me type a backslash for some reason, but you need to preceed your HTML quotation marks with a backslash to make this work.