コード例 #1
0
$office_phone = $_POST['office_phone'];
$cafe_name = $_POST['cafe_name'];
$mobile = $_POST['mobile'];
$email = $_POST['email'];
$address = $_POST['address'];
$state = $_POST['state'];
$city = $_POST['city'];
$country = $_POST['country'];
$postal_code = $_POST['postal_code'];
$area = $_POST['area1'];
$terminals = $_POST['terminals'];
$internet_provider = $_POST['internet_provider'];
$connection_details = $_POST['connection_details'];
$cafeisp = $_POST['cafe_isp'];
$caretaker = $_POST['care_taker'];
$charges = $_POST['charges'];
$ambience = $_POST['ambience'];
$avg_users = $_POST['avg_users'];
$ctphone = $_POST['care_taker_phone'];
$ram = $_POST['ram'];
$os = $_POST['operating_system'];
$processor = $_POST['processor'];
$zone = $_POST['area2'];
//getting assigned to id from class cafemgmt
$assigned_to = $user_id;
//$cafe_mgmt->dbToInstAssignUID($user_id);
//inserting details in the cafe details
$result = $cafe_details->insertIntoCafeDetails($salutation, $first_name, $last_name, $office_phone, $cafe_name, $mobile, $email, $address, $state, $city, $country, $postal_code, $area, $terminals, $internet_provider, $connection_details, $cafeisp, $caretaker, $charges, $ambience, $avg_users, $ctphone, $ram, $os, $processor, $zone, $user_id, $assigned_to);
if ($result) {
    header("Location:  enter_cafe_confirmed_mnt.php");
}