The database result of 1st row at 2nd drop down list was overwrite by hard coded --Select-- option index . If I took off that --Select-- line it working fine, but 1st result row is appeared straight.
Wondering how to keep both --Select-- and 1st result row ???
tanju aktug - 2007-08-22 23:17:04 - In reply to message 2 from er
A simple way to solve this problem is adding a sham option to the returning XML. I added the following lines before database recall and it works...
original : $xml .= '<categories>';
$xml .= '<category>';
$xml .= '<id>0</id>';
$xml .= '<fname>sham</fname>';
$xml .= '</category>';
original : while($row = mysql_fetch_array($result))