Mysql Insert using form
For creating dynamic pages it is so important to know how
data is inserted in mysql data base.
Example --à
// save as form.php or form.html
<html>
<head><title>connection through form
action</title></head>
<body>
<form action=”insert.php” method=”POST”>
//here we can use
method=”GET”
//GET is use for passing variables through address bar
whereas POST method doesn’t show
any pass in url or address bar.
// form fields like input box and buttons etc...
<input type=”text” id=”name” name=”name” />
<input type=”text” id=”age” name=”age” />
</form>
</body>
</html>