Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\phpcs\variable.php on line 53 All Questions › Category: PHP › Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\phpcs\variable.php on line 53 0 Vote Up Vote Down chetan shidling asked 4 years ago How to fix this error? 1 Answers 0 Vote Up Vote Down chetan shidling answered 4 years ago If you use % in a variable, then you will face this type of error. For example: <?php $name% = “chetan”; echo $name%;?> remove % to fix the error.