Forum Moderators: coopster

Message Too Old, No Replies

Php Help Please

         

Arsench

10:50 am on May 16, 2006 (gmt 0)

10+ Year Member



I have a forum and when im calling adress that gives a error and I cant understand how to resolve it.Someone help me please.

and error
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/russiaeu/public_html/forum/bitrix/modules/main/tools.php on line 9489

the line 9489 is

DV_".$tag_name_x." """"""""""" = document.all(\"div_".$tag_name."\");

please what can I do help me.

[edited by: jatar_k at 2:40 pm (utc) on May 16, 2006]
[edit reason] no urls thanks [/edit]

eelixduppy

11:14 am on May 16, 2006 (gmt 0)



I would start out by changing the line to this:
"DV_".$tag_name_x." = document.all(\div_".$tag_name."\");

I think this may be where your error was.

Arsench

11:18 am on May 16, 2006 (gmt 0)

10+ Year Member



thanks for help i've posted but the same error without any changes

jatar_k

2:43 pm on May 16, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



well, there is definitely something weird with that particular line but I would look above it for something that is mismatched like a brace, parenthesis or a quote.

Arsench

11:58 am on May 16, 2006 (gmt 0)

10+ Year Member



The error is the next wht can I do?

Parse error: parse error, unexpected '(' in /home/russiaeu/public_html/forum/bitrix/modules/main/tools.php on line 9538

the line of error is

Ch".$tag_name_x."(); "(); "(); "(); "(); "(); "(); "(); "(); "(); "(); "();

Scally_Ally

1:07 pm on May 16, 2006 (gmt 0)

10+ Year Member



what is it you are trying to do?
If you are trying to concact all these values together then you need to use the dot operator in all instances.
Or are you trying to change the name of you function dynamically?