How would I go about putting HTML between a PHP block that is the same? e.g
Code: Select all
if(if statement){
-- some php code --
-- php tag breaks so I can enter HTML --
-- html --
-- re-open php tag --
-- continue php code --Moderator: General Moderators
Code: Select all
if(if statement){
-- some php code --
-- php tag breaks so I can enter HTML --
-- html --
-- re-open php tag --
-- continue php code --Code: Select all
<?php
if ( $some_if_statement )
{
$some_code
?>
<html>
enter HTML here...
</html>
<?php
$finish_off_the_if_statement
}
?>