<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http:
<td><a href=
"javascript:void(0);"
onclick=
'ajaxDo(\"showInput\",\"ajaxDo.php?t=display&number=".$r[number]."\",\"showMain\")'
title="View details/查看更多...
">"
.
$r
[number]."</a></td>
<td>
".$r[shipper]."
</td>
<td>
".$r[cnee]."
</td>
<td>
".$r[po]."
</td>
<td>
".$r[invoice]."
</td>
<td>
".$r[pol]."
</td>
<td>
".$r[pod]."
</td> <td>
".$r[dest]."
</td>
<td>
".$r[vessel]."
</td>
<td>
".$r[bookingDate]."
</td>
<td>
".$r[receivedBooking]."
</td>
<td>
".$r[confirmSpace]."
</td>
</tr>
"; }?><div class="
show
"> <table cellpadding="
0
" cellspacing="
0
" border="
0
" class="
display
" id="
example
" width="
100%
"> <thead> <tr style="
white-space:nowrap;
"> <th>編號</th> <th>出貨人</th> </tr> </thead> <tbody> <?php echo $tb;?> </tbody> <tfoot> <tr style="
white-space:nowrap;"> <th>編號</th> <th>出貨人</th> </tr> </tfoot>
</table>
<br><br>sql代码见上,但是无法让结果,倒述啊。是何原因,在mysql单独执行那条语句是正确的(desc),就是通过
while
输出时,仍为asc,这是何故啊??<br><br><font color=
"#e78608"
>------解决方案--------------------</font><br>
while
(
$r
=
$q
->fetch_array(MYSQLI_USE_RESULT)) <br>MYSQLI_USE_RESULT<br><font color=
"#e78608"
>------解决方案--------------------</font><br>
$r
=
$q
->fetch_array(MYSQLI_ASSOC);<div
class
=
"clear"
>
</div>
</div>