WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Q: about helplinks in explorer 6, kj, January 9, 2004
     Re:Q: about helplinks in explorer 6, Guilherme Blanco, January 15, 2004
     Re:Q: about helplinks in explorer 6, Erik Arvidsson, January 10, 2004

Subject: Re:Q: about helplinks in explorer 6 From: Guilherme Blanco Date: January 15, 2004
Hi...

Your problem IS in your PHP Code. Try, instead of just output the link using strings, try to use the new syntax in PHP 4.1.0+, the HEREDOC. It's this:

$variable = <<< EOHTMLBODY
<a href="$link['url']">$link['text']</a>
EOHTMLBODY;
echo $variable;

Or, if you prefer the string echoing or printig way...

$str = "<a class=\"helpLink\" href=\"?\" onclick=\"showHelpTip(event, \'<b>" . $arrWords[$i]["word"] . "</b><br><br>" . $title . "\'); return false\">" . $arrWords[$i]["word"] . "</a>";
echo $str;

Just escape the simple quote. This should solve your question.

Cheers,
Gui Blanco



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX