<? while($blog2 = mysql_fetch_array($blog))
{
$tag = ("select * from blogtag_ref inner join blogtag on blogtag_ref.tag_id = blogtag.tag_id where blogtag_ref.blog_id = '".$blog2['blog_id']."' ") or die(mysql_error());
?>
<table width="1040" border="0" cellspacing="0" cellpadding="10" align="center">
<tr>
<td><div class="blogtitle"><? echo $blog2['subject']; ?></div></td>
</tr>
<tr>
<td><div class="blogdate"><? echo $date; ?></div> //
<? while($tag2 = mysql_fetch_array($tag))
{ ?>
<div class="blogtag"><? echo $tag2['tag']; ?></div>/
<? } ?>
它給了我Warning: mysql_fetch_assoc() expects parameter 1 to be resource
mysql_fetch_array錯誤想不通爲什麼
我知道我的SQL是正確的,如果我呼應$tag
...我在phpMyAdmin複製粘貼......它給我的結果...
是因爲我不能在一段時間內放一段時間?
啊,我忘了...的mysql_query謝謝你這麼多,我看了它20分鐘... – user3011784