Welcome to WebmasterWorld Guest from 54.146.194.42

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

parse error, unexpected T_STRING

can anyone help me with this?

     

welcome 2 hell

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

Inactive Member
Account Expired

 
 


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 Sept 26, 2002 (gmt 0)

Administrator

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

joined:July 24, 2001
posts:15755
votes: 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.

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

Moderator

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

joined:Apr 25, 2002
posts:8135
votes: 93



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 Sept 27, 2002 (gmt 0)

Administrator

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

joined:July 24, 2001
posts:15755
votes: 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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members