时间:2021-07-01 10:21:17 帮助过:24人阅读
$sql = mysql_query("SELECT * FROM article WHERE uid='132828' ORDER BY date LIMIT ".$number.",10 "); $num = 1; while($row = mysql_fetch_array($sql)){ if($num ==1){ echo '
ul ul ------------ ------------ | 1st result | 2nd result | ------------ ------------ | 3rd result | 4th result | ------------ ------------ | 5th result | 6th result | ------------ ------------ | 7th result | 8th result | ------------ ------------ | 9th result | 10th result| ------------ ------------
$num = 1; while($row = mysql_fetch_array($sql)){ if($num % 2) { $left[] = '