F
FP
I can get the contents of the my database comments field using PHP.
The comments field may include single or double quotes or other strange
characters.
How do I compensate for these problem characters when I try to set a
JavaScript variable? eg.
<SCRIPT LANGUAGE="JavaScript">
MyComments = "<? PHP result here?>"
</script>
The comments field may include single or double quotes or other strange
characters.
How do I compensate for these problem characters when I try to set a
JavaScript variable? eg.
<SCRIPT LANGUAGE="JavaScript">
MyComments = "<? PHP result here?>"
</script>