Created
March 31, 2017 14:07
-
-
Save phpfiddle/eb7cd9be8bffa4e8be353abbb664fdc9 to your computer and use it in GitHub Desktop.
[ Posted by Siddiq ] Put html content between php
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
<?php | |
$variable = 'checking'; | |
$variable = <<<HTML | |
<div class="yui-content" style="overflow-y:auto;height:241px;"> | |
<div class="bodywrapper"> | |
<br/> | |
<br/> | |
<div width="100%" class="wizard"> | |
<div> | |
<center><b>Checking output</b></center> | |
</div> | |
<div id="button"> | |
<table width="90%" align="center" cellspacing="7"> | |
<tbody> | |
<tr> | |
<td>$variable</td> | |
<td>html</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</div> | |
</div> | |
</div> | |
HTML; | |
echo $variable; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment