裝,我有以下代碼:插入圖像之間的隨機碼從MySQL表
<?php
mysql_connect("localhost","root","");
mysql_select_db("bravo");
$res=mysql_query("select * from coisas");
?>
<div>
<?php
while ($row=mysql_fetch_array($res)) {
echo "<img src=\"{$row['imagem']}\">";
}
?>
</div>
,我需要顯示圖像之間的任意位置的AdSense代碼,任何人都可以幫助,我呢?
你是什麼意思「在隨機位置」?你甚至想要做什麼? – jedwards
只需在回聲後添加adsense代碼? – Martijn
您只希望廣告出現一次嗎?或者你想讓它有機會出現在每張圖片之間? – KHMKShore