I have a search box and the user should type a transaction number to match a specific record. I was wondering how you would code it if nothing was typed and if it doesn't match a record/doesn't exist. I want it to display No Results, something like that.
search page:
<form action="admin_srchRslt.php" method="get">
<center>
<br/>Search Transaction No.<br/>
<input name="search" type="text" id="search" />
<input name="btnSearch" type="submit" id="btnSearch" value="Search" />
</center>
</form>