0

i'm using refreshhit for some random quotes pages in different DIVS, and love it;


problem is, if i add html to the text in the pages:

$string = "<a href=\"page\">text</a>";

echo $string;

that's exactly what i'm getting, "<a href=\"page\">text</a>", instead of parsed html - can someone tell me why...? what to do to parse them...?

thanks so much
g

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by glennn
0

You can avoid this by using:

$string = 'This is a double quote: " ';
$string .= "\nAnd this is a single quote: ' ";
echo $string;

You should check your settings, as your code should echo " and not \"


Also: this should be in the PHP forum.

~G

0

You can avoid this by using:

$string = 'This is a double quote: " ';
$string .= "\nAnd this is a single quote: ' ";
echo $string;

You should check your settings, as your code should echo " and not \"


Also: this should be in the PHP forum.

~G

it was this:

if(el) { el.innerTEXT = response; }

changed to this

if(el) { el.innerHTML = response; }

THANKS!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.