Update MySQL Table Values
$query = "UPDATE `customers` SET
`fname`='$fname',
`lname`='$lname',
`email`='$email',
`phone`='$mobile',
`dd`='$dd',
`dm`='$dm',
`dy`='$dy',
`address`='$address'
WHERE id='$id'";
$results = mysql_query( $query );
if($results)
{
echo "Successfull";
}
$query = "UPDATE `customers` SET
`fname`='$fname',
`lname`='$lname',
`email`='$email',
`phone`='$mobile',
`dd`='$dd',
`dm`='$dm',
`dy`='$dy',
`address`='$address'
WHERE id='$id'";
$results = mysql_query( $query );
if($results)
{
echo "Successfull";
}
No comments:
Post a Comment