✔Create pho folder in wamp or htdocs folder
✔Create your file which include php and html code and save it with extension .php.
✔on your browser type localhost / foldername/filename
✔Now if you want user to redirect to other page on form submit then use 👉🏻form action = "nextfile.php"
Nikola Stojiljkovic you seem to have downvoted my comment for some reasons which i don't want to know.
1. It's not mandatory your file should be in .php extension, theres a script tag
<script language="php" ></script>
2. Without using that, php can work in a .html file
<?= "hello world" ?>
3. Theres an include() function in php that lets you include an external file irrespective of it's extension. Also you dont need .php extension
4. Is the header method i gave above..
On your html file, the form tag should be like this
<form action="init.php" method="post">
<!-- input here -->
Then init.php should be like
Html form validation script here
interacting it with the db may be tricky and you'll need to search on google for deep explanation
Use .php extension instead of .html
you mean you want to naviagate or redirect in to profile page after data entery.
To achieve this you have to
header('path to profile page php file);
hope this helpful