₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,091 members, 8,448,608 topics. Date: Monday, 20 July 2026 at 03:18 PM

Toggle theme

Strange Syntax Errors In PHP - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingStrange Syntax Errors In PHP (1646 Views)

1 Reply (Go Down)

Strange Syntax Errors In PHP by naijaguru(op): 5:04pm On Apr 17, 2006
PHP Users,

I am getting this strange error from my PHP parser:

Parse error: parse error, unexpected $ in C:\Program Files\xampp\htdocs\ifaluade\admin\login.php on line 126

Its funny cos my code ends on line 125. Have anyone experinced same problems??

Please Help.
Re: Strange Syntax Errors In PHP by Zahymaka(m): 7:01pm On Apr 17, 2006
Hi. That's better than

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in login.php on line 126

Can I see your code?
Re: Strange Syntax Errors In PHP by skima(m): 8:01pm On Apr 17, 2006
That means u didnt end your php tag :
e.g <?php ?>

make sure u add ?> to the end ur script.

if dat does not solve it post ur code.
Re: Strange Syntax Errors In PHP by smartsoft(m): 11:02pm On Apr 19, 2006
Just post it, se you hear?
Re: Strange Syntax Errors In PHP by layi(m): 1:47pm On Apr 20, 2006
$ stands for function. Unexpected function
This means you didnt end your program wit ?> So its like u are still programming.
So close your program properly.
if prob persist, check cache or restart system
1 Reply

Programming Your Own Code Syntax HighlighterJava Syntax Highlighter For Smf 1.0.12Parse Error: Syntax Error, Unexpected T_else In C:\234

Hlp With Link To Download A Good C/C++ Compiler With A Size Of 30-40mbPrint ("how Long Will It Take To Be An Expert Python Programmer")