i created a registration form using html i need to get all the details that typing on front page how can i code it in php pls explain and pgm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i created a registration form using html i need to get all the details that typing on front page how can i code it in php pls explain and pgm

31st Aug 2016, 2:55 AM
jishnu v nair
1 Answer
0
you must manage the information by form parameters... you can do the follow: <form action='page.php' method='post'> <input type='text' name='login' \> <input type='text' name='pass' \> <input type='submit' \> </form/ the html will send to the code 'page.php' all information from the form by POST method... to get the information from parameter you can use $_POST predefined variable: $login = $_POST['login']; $password = $_POST['pass'];
9th Sep 2016, 12:28 AM
Rafael Willian Silva
Rafael Willian Silva - avatar