Often when writing PHP I\'ll have it output some HTML like this -
echo \"\".$link_text.\"\";
Use (This syntax dont worry about quotes etc)
echo <<$link_text EOT;