Please bear in mind when you use inline techniques like these not to mix up your quote. if for instance you were embedding in somethign like <a href="http://www.link">. You would need to use single quotes for the php <a href="http://www.'<?php echo $thelink; ?>' ">