Created
April 26, 2016 17:04
-
-
Save AndyNovo/34ad6286cea7cd8a495de42199c37ec1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
This is HTML <?php print_r($data); ?> |
This file contains hidden or 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 | |
$data = ["a"=>"banana"]; | |
ob_start(); | |
include("template.html"); | |
$sHtml = ob_get_clean(); | |
echo $sHtml; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment