Page 1 of 1

adding rel=nofollow"

Posted: Fri Jun 06, 2008 3:52 pm
by grgo
Hy,
I am trying to add rel="nofollow" infront of href in this statment:

echo "\n\t<a href=".trim($this->configuration_data->ADDS_URL)."?a=9 class=menu_bar>".urldecode($this->messages[12])."</a>\n\t&nbsp;&nbsp;&nbsp;\n\t";

and I am getting error.
Thanks, Gregor

Re: adding rel=nofollow"

Posted: Fri Jun 06, 2008 4:06 pm
by onion2k
You need to backslash the quotes, eg rel=\"nofollow\"

In future though, tell us what the error is. That one is so common it's obvious when it crops up, but it's not always that easy, and if you don't share all the information you have people won't bother helping you.