Parse error: syntax error, unexpected '$data' (T_VARIABLE) in C:\wamp64\www\web\test.php on line 27 -
this question has answer here: php parse/syntax errors; , how solve them? 11 answers so error , can't understand why. in opinion syntax correct, still doesn't work way want. maybe don't understand mysql syntax in php <?php include 'db.php'; $data = array( 0 => array( 'comment_author_name' => 'jurgis', 'comment_author_rank' => 'pro', 'comment_date' => '2017-08-13 23:45:23', 'comment_message' => 'lorem ipsum (trump. lipsum) yra tekstas naudojamas spaudos ir grafinio dizaino industrijoje jau nuo xvi amžiaus pradžios.' ), 1 => array( 'comment_author_name' => 'martynas', 'comment_author_rank' => 'newbie', 'comment_date' => '2017-08-14 13:32:15', 'comment_message' => 'jis naudojamas parodyti gra...