Example 1 : Use of get method
If user wants to get information in the url link after sending request and the passing variables length should not be exceed more than 100 characters then you can use get method.
get method
html file :
<html>
<body bgcolor=”e8e8e8″>
<form action=”welcome.php” method=”get”>
Name: <input type=”text” name=”name” /></br> </br>
Password: <input type=”password” name=”password” /></br>
<center><input type=”submit”></center>
</form>
</body>
</html>
php file name . . . → Read More: html, php and mysql examples
Recent Comments