<?php
require_once ("varables.php");

$myJSON['message'] = "";
$myJSON['mmm'] = array();

if(isset($_POST["uzermane"]) && isset($_POST["wasport"]))
{
    $connect = @mysqli_connect($hostname,$username,$password,$database);
    if($connect)
    {
        @mysqli_query($connect,"SET CHARACTER SET utf8;");

        $unitQ="SELECT boforshopingmessage FROM " . $tbl_company . " LIMIT 1";
        $resQ=@mysqli_query($connect,$unitQ);
        if ($resQ) {
          $u = @mysqli_fetch_assoc($resQ);
            $myJSON['message'] = $u["boforshopingmessage"];
        }else{
            $myJSON['success']= "" ;
        }
    }
    else{
        $myJSON['success']= "" ;
    }
}
    echo json_encode($myJSON);
?>
