What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-16 10:01:02
php html template if conditions
<?php if( $condition ): ?> <a href="http://yahoo.com">This will only display if $condition is true</a> <?php elseif($anotherCondition) : ?> more html <?php else : ?> even more html <?php endif; ?> Add solution