Location: PHPKode > projects > My SQL Data Browser > tpl/select.tpl
<select name="{$varName}" style="text-align:right">
		<option value="">{'select'|msdbToLabel} {$varName|msdbToLabel}</option>
{foreach from=$listRows item=listRow}
		<option value="{$listRow.id}"{if $listRow.id == $varValue} selected="selected"{/if}>{$listRow.val}</option>
{/foreach}
</select>
Return current item: My SQL Data Browser