PHP program to accept user details such as user-id, name, Address, email, and mobile no. Display same information on next page.||EasyCoding45
In This Tutorial, we are going to learn how we can write a PHP program to accept user details such as user-id, name, Address, email, and mobile no. and also Displaying the same information on next page.
Program 1(HTML) ::--(To Accept the Data From User)
<html>
<head>
<title>User Information</title>
<center><h3>USER INFORMATION</h3>
<table border=1>
<form method=post action="A2.php">
<tr><th>Enter User-ID :</th><td><input type=text name=t1></td>
<tr><th>Enter User Name :</th><td><input type=text name=t2></td></br>
<tr><th>Enter User Address :</th><td><input type=text name=t3></td></br>
<tr><th>Enter User Email :</th><td><input type=text name=t4></td></br>
<tr><th>Enter Mobile no :</th><td><input type=text name=t5></br></td>
</table><br>
<input type=submit value=submit>
</form>
</center>
</head>
</html>
Comments
Post a Comment