Skip to content

Instantly share code, notes, and snippets.

@carlaizumibamford
Last active May 11, 2022 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlaizumibamford/5361a5ef17ecf71c42e439114310c3c5 to your computer and use it in GitHub Desktop.
Save carlaizumibamford/5361a5ef17ecf71c42e439114310c3c5 to your computer and use it in GitHub Desktop.
Echoing HTML In PHP
// In Between PHP
<?php if(condition){ ?>
HTML
<?php } ?>
// In An PHP
if(condition){
echo "HTML";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment