Last active
May 11, 2022 01:56
-
-
Save carlaizumibamford/5361a5ef17ecf71c42e439114310c3c5 to your computer and use it in GitHub Desktop.
Echoing HTML In PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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