$rss=mysql_query("SELECT * FROM link ORDER BY time DESC LIMIT 30"); while($link=mysql_fetch_array($rss)){ $id=$link['id']; $wzjc=$link['wzjc']; echo <<<htm <a href="go.php?id=$id">$wzjc</a> htm; }
根据条数换行?我好像在c里面写过这种代码