Mysterious php errors occuring in pure javascript line!
Posted: Fri Oct 15, 2004 5:40 pm
I tried to use this part of phpbb code (javascript) in a php script (this line 205):','', '[php_man]', '[/php_man]', '[mysql_man]', '[/mysql_man]', '[pg_man]', '[/pg_man]', '[google]', '[/google]', '[mail_search]', '[/mail_search]', '[big_search]', '[/big_search]');
and i get the following error:
Note:The javascript is not echoed or printed by php. It is normally included in the html code
Note: When i remove this part of code no errors are shown
Thanks in advance
Code: Select all
bbtags = new Array('їb]','ї/b]','їi]','ї/i]','їu]','ї/u]','їquote]','ї/quote]','їcode]','- ','
- ','
Code: Select all
<?php\n','\n?>and i get the following error:
Code: Select all
Warning: Unexpected character in input: ''' (ASCII=92) state=1 in /u1/public_html/view_each_new.php on line 204
Parse error: parse error, unexpected T_STRING in /u1/public_html/view_each_new.php on line 204Note: When i remove this part of code no errors are shown
Thanks in advance