![]() |
it just doesn't make sense!!!
Ok everyone I am back:D But I am having trouble on something it is again a game...
I get a syntax error with a unexpected T_STRING here it is so you know the whole error It is calling 19 everyone has told me it looks correct but it is still calling an error I am posting lines 12 to 22 I cannot find it anywhere wrong with it maybe you geniuses might. I will number them as well PHP Code:
|
There's no semi-colon at the end of line 17.
|
ha ha wow i am stupid.... I might have been searching too hard i worked on this for like an hour and was getting really frustrated
|
That happens a lot, don't even get me started on errors that hung me over for ages on something as small as that. Just as reference though, most parse errors, especially those with "unexpected T_STRING", are forgotten semi-colons. Always check that first.
|
hmm never knew that... I get that error sometimes and could never figure it out before and so i replace the file with the original and restart
|
php editor with Syntax Highlight
To help you with these kind of 'errors' try editing your code on any text editor/ide with syntax highlight.
Check this list. Notepad++ is good and free :-) |
| All times are GMT. The time now is 07:15 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0