Welcome to WebmasterWorld Guest from 54.211.86.24

Forum Moderators: coopster & jatar k

parse error, unexpected T_STRING

can anyone help me with this?

   
8:09 pm on Sep 26, 2002 (gmt 0)

10+ Year Member



Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Webserver\www\tz\index.php on line 171
thats my problem for 2night
8:19 pm on Sep 26, 2002 (gmt 0)

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



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.

4:44 am on Sep 27, 2002 (gmt 0)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month




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

7:24 am on Sep 27, 2002 (gmt 0)

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



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.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month