I am creating registration form, but I need to get the php code. you click submi
ID: 3638910 • Letter: I
Question
I am creating registration form, but I need to get the php code. you click submit(output) button , it has to show the following:YES! It Works! You submitted:
array(4) {
["last_name"]=>
string(0) ""
["first_name"]=>
string(0) ""
["birthdate"]=>
string(0) ""
["comments"]=>
string(0) ""
}
I need this php code thanks
Explanation / Answer
This should get you most of the way: ************* register.php ********************* First Name:Last Name:
Birthdate:
comments:
************* done.php ******************* If you need to get the individual parameters, you can do the following in done.php: $first_name = $_GET['first_name']; or if you want to put them in another array: $params = array( $_GET['first_name'] => "first_name", $_GET['last_name'] => "last_name");
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.