homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
parse error, unexpected T_STRING
can anyone help me with this?
welcome 2 hell

10+ Year Member



 
Msg#: 1140 posted 8:09 pm on Sep 26, 2002 (gmt 0)

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Webserver\www\tz\index.php on line 171
thats my problem for 2night

 

jatar_k

WebmasterWorld Administrator jatar_k us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1140 posted 8:19 pm on Sep 26, 2002 (gmt 0)

Welcome to WebmasterWorld [webmasterworld.com] welcome_2_hell

Here is a List of Parser Tokens [php.net]

Looks like you made a mistake. ;)

Have you looked at line 171? What is it.

ergophobe

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1140 posted 4:44 am on Sep 27, 2002 (gmt 0)


Have you looked at line 171? What is it.

Actually, given that it's probably a missing semi-colon, the question usually is "Have you looked in line *170*?" because the typical reason is code like this

170: $x = my_totally_rad_function($y)
171: echo $x;

The parser will find the error on 171, but the error is really on 170.

Tom

jatar_k

WebmasterWorld Administrator jatar_k us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1140 posted 7:24 am on Sep 27, 2002 (gmt 0)

good point Tom,

I was wondering if welcome_2_hell would repost and notice that there was actually no value for probable cause listed for his parse error. I was also hoping we would get a couple of lines and see the missing semi colon. ;)

Gotta love parse errors, most always our own fault and they most often drive us the craziest.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved