[Solved] Call PHP file inside an HTML without using input tag


You can’t include a PHP file in an HTML file. You need to change the extension of the HTML to PHP and use include().

<?php 
    include 'form2.php';
?>

That is the easiest way to do it.

3

solved Call PHP file inside an HTML without using input tag