Hello, I am having an issue that is driving me nuts and probably has a simple resolution,
I am storing Java script code in a string example
$javaSC pulls code from a database
$javaSC = "<script type="text/javascript">
<!--
xxx
//--></script>
the problem is when displayed for the user to copy it only shos this
<script type="text/javascript">
</script>
this part
<!--
xxx
//-->
is missing.
Please help
Kimberly
I am storing Java script code in a string example
$javaSC pulls code from a database
$javaSC = "<script type="text/javascript">
<!--
xxx
//--></script>
the problem is when displayed for the user to copy it only shos this
<script type="text/javascript">
</script>
this part
<!--
xxx
//-->
is missing.
Please help
Kimberly