Parse error: syntax error, unexpected '$query' (T_VARIABLE) in C:\xampp\htdocs\newexport\otomatiscsvas.php on line 163