php读取mysql排序问题

<?phprequire_once("conn.php");?><html><body> <?php$exec_idasc="select * from news order by id asc;$result=mysql_query($exec_idasc);while ($rs=mysql_fetch_array($result)){ //循环读取出数据?><tr>&... 展开
匿名
发布于2011-09-17 09:54 最佳答案
  
<
break;
switch($value){
case 1;/
<post"
break;form action=":
$exec_idasc="/];>> id="1"select" name="
}

;;list"
caset 2;2"/1"
<id 升序<>option>
<
<select>option value="option value="
<listform"listform" method="option>:
$exec_idasc="select * from news order by id desc?php
$value = (int)$_POST['select * from news order by id asc;id 降序<< size=" selected>/form>select'?>select name="

其他回答

这个要用到ajex,把输出结果放入这个table,
qiqi587679 | 发布于2011-09-20 15:04
评论

为您推荐: