|
|
 Francis | 2007-02-01 22:54:43 |
Hi there
The database result of 1st row at 2nd drop down list was overwrite by hard coded --Select-- option index [0]. 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 ??? |
 er | 2007-05-20 15:00:07 - In reply to message 1 from Francis |
| Anybody know how to fix this? |
 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>';
added lines
$xml .= '<category>';
$xml .= '<id>0</id>';
$xml .= '<fname>sham</fname>';
$xml .= '</category>';
original : while($row = mysql_fetch_array($result))
...... |
|