You may have to register before you can post: click the register link above to proceed. Notation for lengths Does "when ~ dies, deal n damage to all players/creatures" have a name? Example: PHP Parse error Error message provides us a hint about the error. I corrected that. have a peek here
Scott Offord @scottofford 6 months, 3 weeks ago PHP Version 5.2.17 Scott Offord @scottofford 6 months, 3 weeks ago Ah ha! For parse errors, the error typically occurs on the preceeding line since the parser continues until it reads invalid syntax. If a proper closing identifier is not found before the end of the current file, a parse error will result at the last line. I added a couple on line 188 and it fixed the syntax problem but you may want to check your if/elseif/else structure to make sure it's correct. http://stackoverflow.com/questions/10783733/php-syntax-error-unexpected-t-string
Should I boost his character level to match the rest of the group? This forum is now read-only. Join them; it only takes a minute: Sign up PHP: syntax error, unexpected T_STRING [closed] up vote 1 down vote favorite I am getting a syntax error for this PHP code Even with the error message, these users still need help.
Since PHP is a dynamic language, I often don’t treat notices as errors. During that time I’ve encountered nearly every error. sort command : -g versus -n flag What does the image on the back of the LotR discs represent? Unexpected End Of File Php more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
If this rule is broken ... Albert Wiersch Top rjizzo Rank 0 - Newcomer Posts: 5 Joined: Thu Apr 10, 2014 1:33 pm Re: Parse error: syntax error, unexpected T_STRING, expectin Quote Postby rjizzo » Thu Apr Thanks for your response. –Jogodosshu Jul 17 '13 at 10:26 @AmalMurali, right. this page loginsign up Your browser is not supported.
Plugin Author jwineman @jwineman 6 months, 4 weeks ago What version of PHP are you running Scott? Parse Error: Syntax Error, Unexpected T_string, Expecting T_constant_encapsed_string How do creatures affected by Compelled Duel or Bear Totemic Attunement know who to attack? nice to meet you! :-)"; } } $teacher = new Person ("boring", "12345"' 12345); $student = new Person ("Bob", "Fleming", 77); echo greet($teacher); echo greet($student); echo $student->age; ?>