akhilreddy
07-14-2012, 03:32 PM
<?php
$firstname=$_POST["txt1r"];
$lastname=$_POST["txt2r"];
$email=$_POST["txt3r"];
$password=$_POST["txt4r"];
$date=$_REQUEST["date"];
$month=$_REQUEST["month"];
$years=isset($_REQUEST["year"]);
echo 'your name is '.$firstname.' '.$lastname;
echo '<br>your email is '.$email;
echo '<br>your password is '.$password;
echo '<br>your date of birth '.$date.'-'.$month.'-'.$years;
$con=mysql_connect("localhost","root","9441059334");
if (!$con)
{
die('could not connect:'.mysql_error());
}
mysql_close($con);
?>
$firstname=$_POST["txt1r"];
$lastname=$_POST["txt2r"];
$email=$_POST["txt3r"];
$password=$_POST["txt4r"];
$date=$_REQUEST["date"];
$month=$_REQUEST["month"];
$years=isset($_REQUEST["year"]);
echo 'your name is '.$firstname.' '.$lastname;
echo '<br>your email is '.$email;
echo '<br>your password is '.$password;
echo '<br>your date of birth '.$date.'-'.$month.'-'.$years;
$con=mysql_connect("localhost","root","9441059334");
if (!$con)
{
die('could not connect:'.mysql_error());
}
mysql_close($con);
?>