我有一些問題類型的對話在此代碼(與Facebook PHP SDK 3.0.1工作):PHP SQL查詢錯誤
$page_id = 192485754113829;
$post_limit = 2;
$query = "select post_id, source_id, actor_id, target_id, created_time, likes, message, attachment, comments from stream where source_id = '.$page_id.' LIMIT '.$post_limit.'";
Parser error: unexpected '.' at position 130.
我無法解釋,這個代碼不在不同的託管中以相同的方式工作。 有沒有在php.ini某種類型的設置
當調試像這樣的問題時,步驟#1:'echo $ query;' – JJJ