Created
September 9, 2014 12:10
-
-
Save yuya-matsushima/9d3844e47ad65067895e to your computer and use it in GitHub Desktop.
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
<div class="sample"> | |
<?php if ($hoge === true):?> | |
<div class="inner"> | |
<p> | |
hogehoge | |
</p> | |
<p> | |
<?php echo $hoge;?> | |
</p> | |
</div> | |
<?php else:?> | |
<p> | |
fugafuga | |
</p> | |
<?php endif;?> | |
</div> | |
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
.sample | |
<?php if ($hoge === true):?> | |
.inner | |
p hogehoge | |
p <?php echo $hoge;?> | |
<?php else:?> | |
p fugafuga | |
<?php endif;?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment