<?php include ("configuration.php");
?>
<form
name="insert" method="post"
action="insert_data.php">
Name: <input name="name"
type="text" /> <br />
Address: <input name="address"
type="text" /> <br />
Phone:
<input name="phone" type="text" /> <br />
<input
type="reset" value="Reset" /> | | <input
type="submit" value="Submit" />
</form>
<?php
$name
= $_POST["name"];
$address
= $_POST["address"];
$phone
= $_POST["phone"];
if($id!=""
&& $name!="" && $address!="" &&
$phone!="")
mysql_query ("insert into info
values (“ ”, '$id', '$name', '$address', '$phone')");
else
echo "Any Field Should not be
Empty !!";
?>