+ 3
PHP forms
<form action="first.php" method="post"> name,username,email I have one form action which call method POST, if I need one more, how can I realize it? <form action=âsecond.phpâ method=âpostâ> Code,sometext I think calling will be $_POST[ânameâ] also $_POST[âcodeâ] but how program must understand where info to take?
5 Answers
+ 3
Each input field should have been assigned different name attribute.
+ 2
Your form POST has mentioned php file to receive in action attribute.
+ 1
yes, but how to understand which .php to use? i need fopen or require to call?
+ 1
10q i think i understand what you mean
+ 1
yes