0

I have an index.php, and I want to grab the .html output of that after it's rendering.

What is the best way to generate the output .html version base on your .php ?


I've tried

<?php
ob_start();
include 'index.min.php';
echo $content = ob_get_clean();
?>
Community
  • 1
  • 1
code-8
  • 54,650
  • 106
  • 352
  • 604

0 Answers0