Ben bir php dosyasını çağıran bu html formu var.
Index.html ->
<form action="html_form_submit.php" method="post">
<textarea name="name" rows="2" cols="20"> </textarea >
<input type="submit" value="Submit" />
</form>
html_form_submit.php dan ->
<?php
$name = @$_POST['name'];
?>
<html>
<body>
<p>
Id: <?php echo $id; ?><br>
Name: <?php echo $name; ?><br>
Email: <?php echo $email; ?>
</p>
</body>
</html>
This works as expected. The php file generates html code and sends it to the client. But what I want is for the php(or anything else) to create a static html page , store it in the server and THEN send it to the user. I hope I am clear.
This is for a very small website for my neighbourhood btw and my coding skills suck bigtime Lastly if someone understands what I am trying to do and has a suggestion to do this in any other way(simpler way), then please share.
Teşekkürler