0

How to generate HTML page using phpmyadmin

After data entry get new user profile

10/17/2019 6:38:17 PM

Fahim Sardar

12 Answers

New Answer

+6

✔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"

+3

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 <html> <body> <?= "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 include(".....") 4. Is the header method i gave above..

+2

On your html file, the form tag should be like this <form action="init.php" method="post"> <!-- input here --> </form> Then init.php should be like <? header("location:https://your_new_page"); /* Html form validation script here */ ?> interacting it with the db may be tricky and you'll need to search on google for deep explanation

+1

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 Happy coding.♾

+1

Mirielle🐶 [Inactive] well, i don't know what are you talking about 🤷🏻‍♂️

0

What do you mean by 'generate' exactly ? What are you trying to achieve ?

0

Automatically generate new HTML page using php after data entry

0

Do you mean 'load' ?

0

0

As we get profile after sign up in Facebook

0

0

Your file must have extension .php not .html anymore