I changed my code accordingly, however it's showing only the the first letter of values. Waht's wrong with this?
pasted below is the code.
while(list($tick) = mysql_fetch_row($res_dt)) {
echo '<option value=' . $tick['id'];
if ( $list == $tick['id'] ) {
echo ' selected';
}; # if
echo '>' . $tick['name'];
}
Thanks
Jaco