html, php and mysql examples

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

html,php and mysql

how to create a simple quiz application
Technical Quiz

HTML

<html>

<head>

<title>Welcome to Technical Quiz</title>

</head>

<body bgcolor=’#e8e8e8′>

<h3><center>Welcome to Techincal Quiz</center></h3>

<form action=”Results.php” method=”post”>

<h3>1.Who is the father of Computers</h2>

<input type=”radio” name=”1″ value=”dennis ritchie”>dennis ritchie<br/>

<input type=”radio” name=”1″ value=”charles babbage”>charles babbage <br/>

<input type=”radio” name=”1″ value=”Bjarne Stroustrup”>Bjarne Stroustrup <br/>

<input type=”radio” name=”1″ value=”balaguruswamy”>balaguruswamy<br/>

<h3>2.C Language is founded by:</h3>

<input type=”radio” name=”2″ value=”dennis ritchie”>dennis ritchie<br/>

<input type=”radio” . . . → Read More: html,php and mysql