if(isset($_GET['started']) && isset($_GET['Reference_ID'])) {
if($_GET['started'] == "1") {
if($Reference_ID == $Reference_ID_db) {
?>
Starting Information:} } } if(isset($_GET['verify'])) { if($_GET['verify'] === "1") { $Reference_ID = $_POST['Reference_ID']; $Company_ID = trim($_POST['Company_ID']); $Client_ID = trim($_POST['Client_ID']); $Date_Of_Shipment = $_POST['Date_Of_Shipment']; $Value = $_POST['Value']; $Port_Of_Exit = $_POST['Port_Of_Exit']; $Currency = strtoupper($_POST['Currency']); $User_ID = strtoupper($_POST['User_ID']); $Date_Of_Shipment = strtoupper($_POST['Date_Of_Shipment']); $Is_EDI = strtoupper($_POST['Is_EDI']); $Release_Type = strtoupper($_POST['Release_Type']); $client_details = mysql_query("SELECT Business_Name, Business_Number, Address1, Address2, Address3, Postal_Code, City, State, Country FROM clients WHERE Client_ID=\"$Client_ID\" LIMIT 1"); while ($client = mysql_fetch_array($client_details)) { $client_details_db_business_name = $client["Business_Name"]; $client_details_db_business_number = $client["Business_Number"]; $client_details_db_address1 = $client["Address1"]; $client_details_db_address2 = $client["Address2"]; $client_details_db_address3 = $client["Address3"]; $client_details_db_postal_code = $client["Postal_Code"]; $client_details_db_city = $client["City"]; $client_details_db_state = $client["State"]; $client_details_db_country = $client["Country"]; } $company_name = mysql_query("SELECT Name FROM company WHERE Company_ID=\"$Company_ID\" LIMIT 1"); $company = mysql_fetch_array($company_name); $company_name_db = $company["Name"]; ?> } else { echo "You're doing something wrong...";} } ?> |