easy way to execute conditional html / javascript / css / other language code with php if else: <?php if (condition): ?> html code to run if condition is true <?php else: ?> html code to run if condition is false <?php endif ?>