Greetings.
I'm loosing my mind here, so please, anyone, help me!
PHP is backslashing quotes in javascripts snippets! I have all the Magic Quotes turned off on php.ini, so how this is possible????
Just an example:
The code should be:
echo<<<EJS
<script language=\"JavaScript\">
tab += "<a href=\"JavaScript:foo('something')\">Test</a>";
</script>
EJS;
PHP is doing this:
<script language="JavaScript">
tab += "<a href="\""JavaScript:foo('something')\"">Test</a>";
</script>
Please someone help me.
Thanks (a lot) in advance.