//add the required and the require 'Require.php'; include 'Operator_Header.php'; include '../Menu_Operator.php'; //make an operator $user = $_SESSION['Logged_In_User']; $operator = new Operator_Controller($user); if ($_SERVER['REQUEST_METHOD'] == 'GET') { if (isset($_GET['Company_ID'])) { $On_Building = False; $Company_ID = $_GET['Company_ID']; //if the company is on building use on building query //else use a query with out building to get info about the company if ($_GET['On_Building'] == 0) { $Company = $operator->Get_More_Info_With_Out_Building($Company_ID); $Company = mysqli_fetch_array($Company, MYSQLI_ASSOC); $Company_Name = $Company['company_name']; $Company_Name_Amharic = $Company['company_name_amharic']; $Branch = $Company['Branch']; $Branch_Amharic = $Company['Branch_Amharic']; $Working_Hours = $Company['Working_Hours']; $Working_Hours_Amharic = $Company['Working_Hours_Amharic']; $Product_Service = $Company['Product_Service']; $Product_Service_Amharic = $Company['Product_Service_Amharic']; $Category_Name = $Company['category_name']; $Category_Name_Amharic = $Company['category_name_amharic']; $Ownership = $Company['company_type']; $Ownership_Amharic = $Company['company_type_amharic']; //this will find contact $Email = $Company['Email'];