Javascript and long instruction
Posted: Sat Jun 21, 2008 11:24 am
Hello everybody,
I would like to insert a Google Analytics instruction on my pages.
http://www.philibert.ch
I thought that could be easier to create a user tag instead of typing the whole code in every page...
The instruction I received from Google Analytics is
echo '';
...
The problem is that the 3rd line is cutted in the CMSMS editor (like here) and is understood as a new line. Then I got the error message
# Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/www/ea1e6a33c37a3beb702c4802b7843447/web/cmsms/admin/adduserplugin.php(94) : eval()'d code on line 3
My question: How could I tell CMSMS that instruction on line 3 continue on line 4?
Thank you in advance,
Philippe Roth
I would like to insert a Google Analytics instruction on my pages.
http://www.philibert.ch
I thought that could be easier to create a user tag instead of typing the whole code in every page...
The instruction I received from Google Analytics is
echo '';
...
The problem is that the 3rd line is cutted in the CMSMS editor (like here) and is understood as a new line. Then I got the error message
# Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/www/ea1e6a33c37a3beb702c4802b7843447/web/cmsms/admin/adduserplugin.php(94) : eval()'d code on line 3
My question: How could I tell CMSMS that instruction on line 3 continue on line 4?
Thank you in advance,
Philippe Roth