I know nothing about PHP so I need some help with this problem!
I have a PHP script to check if the user is logged in or not. If logged in it will "echo" a html page that includes javascript for image swaps. The problem is that the javascript uses the character ' which causes problems for the php script.
This is it:
<?php
if ($cookiename==""){
//Not logged in
echo ("sorry");
}
else{
//Show page content
echo '
here goes the html content including the caracter '
'; }
?>
How do I do it?