Пример #1
0
<?php

include "lib/dataprocess.php";
$dataprocess = new DataProcess();
$dataprocess->settings();
$a = explode(",", $_GET['q']);
$row = $dataprocess->getInfo($a[0]);
$apost = array("txtfullname" => $row[0]['fullname'], "txtemail" => $row[0]['email'], "txtmobile" => $row[0]['mobile'], "cmbcountry" => $row[0]['country'], "service" => $a[1] == '1' ? 'store' : ($a[1] == '2' ? 'consultation' : 'application'));
$dataprocess->sendfeedback($apost, $a[0]);
header('Location:listing.php');