On Sun, 26 May 2002 10:05:03 +0300, mp wrote:
>Hi, php-general,
>I make this kind of PHP script(script.php):
>$variable = "Some some long long Text Blah blah";
>echo "document.write(\"".$variable."\")";
>And in HTML (other.html) file I write:
><script language="JavaScript" src="script.php"></script>
>But there is some mistake. Does anybody can help me?

make sure $variable doesn't have any newlines.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to