PHP中出现这样的错误求解Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
问题是:Parseerror:syntaxerror,unexpectedT_ENCAPSED_AND_WHITESPACE,expectingT_STRINGorT_V...
问题是:Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in D:\server\www\movie_details.php on line 141
代码如下:
$query = 'SELECT
review_movie_id, review_date,review_name,review_comment,review_rating
FROM
reviews
WHERE
141 review_movie_id= ' . $_GET['movie_id'] .'
ORDER BY
review_date DESC';
$result =mysql_query($query,$db) or die(mysql_error($db)); 展开
代码如下:
$query = 'SELECT
review_movie_id, review_date,review_name,review_comment,review_rating
FROM
reviews
WHERE
141 review_movie_id= ' . $_GET['movie_id'] .'
ORDER BY
review_date DESC';
$result =mysql_query($query,$db) or die(mysql_error($db)); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询