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
1 ответ
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'];