query("UPDATE channel SET channel_name='" . $channel_name . "',channel_type='" . $channel_type . "',channel_leader='" . $channel_leader . "',channel_phone='" . $channel_phone . "' WHERE channel_id='" . $channel_id . "'");
if ($data > 0) {
echo $data;
echo " ";
} else {
echo ("");
// echo "Error updating record: " . $con->error;
}
}
$con->close();