why wont it work to echo this image link? :/ it breaks my page. <?php echo "<a href="http://page.com" target="_blank"><img src="image.jpg" border="0"/></a>"; ?>
Don't you have to quote (backslash) the quotes? echo "<a href=\"http://page.com/\" target=\"_blank\"><img src=\"image.jpg\" border=\"0\" /></a>"; Code (markup):
shoulde be. <?php echo ("<a href="http://page.com" target="_blank"><img src="image.jpg" border="0"/></a>"); ?> Code (markup): parenthesis missing.
ROFL, Things are wrong Try this and it will Work <?php echo '<a href="http://page.com" target="_blank"><img src="image.jpg" border="0"/></a>' ; ?> try this and see it working
oh god, echoing html is much easier than this... <?php echo <<<EOF <a href="http://page.com" target="_blank"><img src="image.jpg" border="0"/></a> EOF; ?>
Try this: echo '<a href="http://page.com" target="_blank"><img src="image.jpg" border="0"/></a>'; It should work.