Skip to content

Instantly share code, notes, and snippets.

@nathggns
Created January 2, 2013 22:00
Show Gist options
  • Select an option

  • Save nathggns/4438614 to your computer and use it in GitHub Desktop.

Select an option

Save nathggns/4438614 to your computer and use it in GitHub Desktop.
Correct way of echoing HTML via PHP
<?php
if (/* condition */):
?><a href="#">...</a><?php
endif;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment