while($row=mysql\_fetch\_array($result)){}循環(huán)現(xiàn)在我要把里面數(shù)據(jù)庫的一個(gè)變量轉(zhuǎn)換成另一個(gè)變量,但是數(shù)組中的最后一項(xiàng)不能正常轉(zhuǎn)換。這是什么原因呢?具體代碼:while($row=mysql_fetch_array($result)){$id=$row['id'];$content=$row['content'];echo"$('.message').emotionsToHtml();";//把.class為message里的變量轉(zhuǎn)換為html代碼echo"$content";}
php一個(gè)mysql_fetch_array函數(shù)問題
森林海
2019-04-23 15:18:05