--- a/view.php +++ b/view.php @@ -1,1 +1,42 @@ +query("Select * from dcaas_services where acnabn = '31010545267' and service_name = 'Software as a Service (SaaS) - Microsoft Exchange e-mail';")->fetchAll(PDO::FETCH_ASSOC); +if (count($data) == 0) { + header('HTTP/1.0 404 Not Found'); + includeHeader('Not Found'); + echo "not found"; +} else { + $service = $data[0]; + includeHeader($service['service_name']); + ?> +
".ucwords(str_replace("_", " ", $key)) . " | $value |