Friday, May 20, 2011

Php Code: Box for Lists

You can create box for your list where the users could choose by clicking on the list box.

<!-- This Script is from www.hawkee.com, found at www.phpfreecode.com-->


Sort by
<form method=get style="display: inline;" name='orderby_form'>
<input type=hidden name='param1' value="">
<input type=hidden name='param2' value="">
<select name=orderby onChange="orderby_form.submit();">
<option value='name' selected>Name</option>
<option value='price_asc' selected>Price (Low - High)</option>
<option value='price_desc' selected>Price (High - Low)</option>
</select>
</form>



<font face="Tahoma"><a target="_blank" href="http://www.phpfreecode.com/"><span style="font-size: 8pt; text-decoration: none">PHP Free Code</span></a></font>

No comments:

Post a Comment