if (empty($this->session->data['payment_methods'])) {
$data['error_warning'] = sprintf($this->language->get('error_no_payment'), $this->url->link('information/contact', 'language=' . $this->config->get('config_language')));
} else {
$data['error_warning'] = '';
}
if (empty($this->session->data['payment_methods'])) {
//$data['error_warning'] = sprintf($this->language->get('error_no_payment'), $this->url->link('information/contact', 'language=' . $this->config->get('config_language')));
} else {
//$data['error_warning'] = '';
}
<?php
ini_set('error_reporting', E_ALL); // Включаем вывод всех ошибок
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
require_once('db.php');
if(isset($_POST['delivery_date']))
{
$get_date = $_POST['delivery_date'];
var_dump($get_date); //смотрим приходит ли что-то по запросу
$SQL = "SELECT * FROM $dbtable WHERE delivery_date='$get_date' AND delivery='1' ORDER BY id DESC";
$result = mysqli_query($link, $SQL);
var_dump( $result); //смотрим результат
while ($res = mysqli_fetch_assoc($result)) {
printf ("%s\n", $res["delivery_date"]);
}
}
?>
<div class="modal fade" id="modalUserName" tabindex="-1" role="dialog"
aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
var j$331 = $.noConflict(true);
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript">
var j$143 = $.noConflict(true);
</script>
(function(jQuery) {
//Jquery 1.4.3
})(j$143);
(function(jQuery) {
//Jquery 3.3.1
})(j$331);