Seeing An Error: Parse Error: Parse Error, Unexpected T_if In
- Forums
- PHP
- Seeing An Error: Parse Error: Parse Error, Unexpected T_if In
This Page Contains information about Seeing An Error: Parse Error: Parse Error, Unexpected T_if In By wallpaperama in category PHP with 2 Replies. [1248], Last Updated: Sat May 18, 2024
wallpaperama
Tue Jan 27, 2009
2 Comments
333 Visits
if you are seeing an error like this one:
Parse error: parse error, unexpected T_IF in /home/www/mysite/index.php on line 4
then it only means if you look on line 42, you forgot to put a semi-colon
it happen to me, this is how my line looked on line 41
$string = 'my value'
instead it should look like this;
$string = 'my value';
https://www.wallpaperama.com/forums/parse-error-parse-error-unexpected-t-if-in-t7029.html