Skip to content

Instantly share code, notes, and snippets.

@claudioweb
Created October 31, 2016 19:02
Show Gist options
  • Save claudioweb/0f819f5c470f352a8bf8d12cfec9840e to your computer and use it in GitHub Desktop.
Save claudioweb/0f819f5c470f352a8bf8d12cfec9840e to your computer and use it in GitHub Desktop.
Gravar include na variavel
ob_start();
include 'secondfile.php';
$myvar = ob_get_clean();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment