0
$query4 = mysql_query("SELECT * FROM comments WHERE content_id = '$id' AND content = 'thread'
INNER JOIN users ON comments.poster = users.id
ORDER BY comments.date ASC");
while ($comment = mysql_fetch_array($query4)) {
}
모든 테이블과 열이 존재하고 내가이 데이터베이스에 연결하고 있지만, 여전히 나에게 제공 가입?내부는
미리 감사드립니다.
content_id = '$ id'를 사용하지 마십시오. sql-injection에 취약합니다. – nothrow