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

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

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.