Most Helpful
Most Helpful
Yes it is possible. However, only if the $condition is true. In example:
<?php if($condition) : ?>
<a href="http://designreviver[dot]com">This can only be displayed if $condition is succesful</a>
<?php endif; ?>
<?php if($condition) : ?>
<a href="http://designreviver[dot]com">This can only be displayed if $condition is succesful</a>
<?php endif; ?>
0
Yes
Definitely you can insert HTML into a PHP if conditional statement.Example<?php//Condition starts hereif(condition){?><!--Your HTML Script --><?php} //End of condition?>
Definitely you can insert HTML into a PHP if conditional statement.Example<?php//Condition starts hereif(condition){?><!--Your HTML Script --><?php} //End of condition?>