发布于2017-01-032020-08-07 由影子php查询mysql输出例子 < ?php $sql="select * from content"; mysql_query($sql, $con); $result = mysql_query($sql); if ($result){ echo ""; while($row = mysql_fetch_array($result)) { echo ''.$row['id'].'|'.$row['title'].'|'.$row['desc'].''; } echo ""; } ?>