-1
내가 PHP에서 "# 26 리소스 ID"오류가 계속 :얻기 자원 ID # 26 PHP 오류
$R = mysql_query("SELECT * FROM Replies WHERE tid='$gS->ID' ORDER BY ID DESC LIMIT 1");
?>
<tr style="<? echo "$scss"; ?>">
<td width="560" class="thread" colspan="4" height="70" style="" border-left: 1px solid gainsboro;text-align: center;"><center><a href="./Post.php?id="><? echo "$gS->Title"; ?></center></a>
<td width="100" align="center" class="thread" style="text-align: center;" valign="middle"><? echo "$R"; ?></td>
<td width="100" align="center" class="thread" valign="middle"></td>
<td width="200" class="thread" style="border-right: 1px solid gainsboro;">by <? echo "$LastReply"; ?> <br>January, 1st, 2000 - 2:00am</td>
</tr>
</table>
['mysql_query'] (http://php.net/mysql_query) 값을 반환하지 않습니다. 여전히'_fetch_xy()'해야합니다. – mario
당신은 당신의 레코드를 반향시키고 있습니다. 아마 mysql_fetch_array()를 원할 것이다. – andrewsi