How to fix this error in php Parse error: syntax error, unexpected '$rows' (T_VARIABLE), expecting ',' or ';' in? All Questions › Category: PHP › How to fix this error in php Parse error: syntax error, unexpected '$rows' (T_VARIABLE), expecting ',' or ';' in? 1 Vote Up Vote Down Chetan Shidling asked 5 years ago I need help. 1 Answers 0 Vote Up Vote Down Chetan Shidling answered 5 years ago Use proper comas while using PHP inside HTML.