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
  • 49,286
  • 91
  • 294
  • 502

0 Answers0