Insert into Table
$query = "INSERT INTO `customers` (
`fname`,
`lname`,
`email`,
`phone`,
`address`,
`day`,
`month`,
`year`,
`time`)
VALUES
(
'$fname',
'$lname',
'$email',
'$mobile',
'$address',
'$day',
'$month',
'$year',
'$time'
)";
// save the info to the database
$results = mysql_query( $query );
if($results)
{
echo "Successfull";
}
$query = "INSERT INTO `customers` (
`fname`,
`lname`,
`email`,
`phone`,
`address`,
`day`,
`month`,
`year`,
`time`)
VALUES
(
'$fname',
'$lname',
'$email',
'$mobile',
'$address',
'$day',
'$month',
'$year',
'$time'
)";
// save the info to the database
$results = mysql_query( $query );
if($results)
{
echo "Successfull";
}
No comments:
Post a Comment