<?php session_start(); ?> <?php require_once 'classes/database.php'; //Get Data $company_id = $_GET['company_id']; $admin_id = $_GET['admin_id']; if (isset($admin_id) && $company_id) { //Instantiate Database Class $db = new Database(); //Get User Information and save to session.Plus start session $add_data = $db->get_additional_company_information($company_id, $admin_id); //Get Additional user information $company_name = $add_data[0]; $first_name = $add_data[1]; $last_name = $add_data[2]; $username = $add_data[3]; //Store values in session $_SESSION['company_id'] = $company_id; $_SESSION['admin_id'] = $admin_id; $_SESSION['company_name'] = $company_name; $_SESSION['first_name'] = $first_name; $_SESSION['last_name'] = $last_name; $_SESSION['username'] = $username; ?> <!doctype html> <html>