value="значение" в <button>      $str = 'полная_строка_из_БД';
if (strlen($str) > 30) $str = substr($str, 0, 30) . '...';
echo $str;      axios по умолчанию отправляет параметры в теле запроса как Content-Type: application/json и чтобы их прочитать нужно в PHP принимать так:var_dump(file_get_contents('php://input'));json_decodeContent-Type: application/x-www-form-urlencoded описаны в документации: https://github.com/axios/axios#using-applicationx-...axios.post('aaa.php?action=create', 'myvalue=строка&sub=ahaha&value=22')
    .then(function(response) {
    .....      $arr1 = [массив_новых_ip];
$arr2 = [массив_ip_из_базы];
$arrResult = array_filter($arr1, function($em) use ($arr2) {
    return (array_search($em, $arr2) === false);
});
/* если нужно обнулить ключи, то обернуть в array_values() */
$arrResult = array_values(array_filter($arr1, function($em) use ($arr2) {
    return (array_search($em, $arr2) === false);
}));      ->query() не поддерживает подготовленные запросы. То есть у вас просто при этом запросе вместо замены данных все они передаются как строки. Вам сначала надо подготовить запрос с помощью ->prepare() и затем выполнить его ->execute():$sql = "INSERT INTO `jobs1` (`id`, `name`, `url`, `country`, `sex`, `salary`) VALUES (:id, :name, :url, :country, :sex, :salary)";
$prp = $this->db->prepare($sql);
$prp->execute($params);      $date = [
    '10.04.2019',
    '11.04.2019',
    '12.04.2019',
    '13.04.2019',
    '14.04.2019',
    '15.04.2019',
    '16.04.2019',
    '17.04.2019',
    '18.04.2019'
];
$today = date('d.m.Y');
$date = array_slice($date, array_search($today, $date));
print_r($date);
/*
Array
(
    [0] => 15.04.2019
    [1] => 16.04.2019
    [2] => 17.04.2019
    [3] => 18.04.2019
)
*/      $str = '16.04 (09:30)
- 19.04.19
83 €100 $2529 грн.78 €94 $2376 грн.
здесь
17.04 (10:30)
- 20.04.19
86 €104 $2620 грн.81 €98 $2468 грн.';
preg_match_all('/\d[\d\.:]*/', $str, $m);
$list = $m[0];
print_r($list);
/*
Array
(
    [0] => 16.04
    [1] => 09:30
    [2] => 19.04.19
    [3] => 83
    [4] => 100
    [5] => 2529
    [6] => 78
    [7] => 94
    [8] => 2376
    [9] => 17.04
    [10] => 10:30
    [11] => 20.04.19
    [12] => 86
    [13] => 104
    [14] => 2620
    [15] => 81
    [16] => 98
    [17] => 2468
)
*/      $url = "http://api.exmo.com/v1/$api_name?code=$excode";
$req['nonce'] = $NONCE;$url = "http://api.exmo.com/v1/$api_name/";
$req['nonce'] = $NONCE;
$req['code'] = $excode;$headers = array(
    'Content-Type: application/x-www-form-urlencoded',
    'Sign: ' . $sign,
    'Key: ' . $key,
);      $btc_convert_rub = file_get_contents('https://api.coinmarketcap.com/v1/ticker/?convert=rub');
$data = json_decode($btc_convert_rub, true);
$indexData = [];
foreach ($data as $arr) {
    $indexData[$arr['id']] = $arr;
}
$btc_rub = $indexData['bitcoin']['price_rub'];
echo $btc_rub;      $options = [
    'http' => [
        'method' => 'GET',
        'header' => [
            'Accept-language: ru',
            'User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 YaBrowser/19.3.1.828 Yowser/2.5 Safari/537.36'
        ]
    ]
];
$context = stream_context_create($options);
$response = file_get_contents('http://sbonhelp.ru/registraciya-v-sberbank-online', false, $context);
echo mb_convert_encoding($response, 'utf-8', 'windows-1251');$arr = [];
$show = false;
while ($hero2 = mysqli_fetch_assoc($hero1)) {
    $time_now = strtotime($hero2['cron1']);
    $time_need = strtotime($hero2['cron2']);
    if ($time_need >= $time_now) {
        $t_s = date("H:i ", 75600 - ($time_need - $time_now));
    }
    else {
        $t_s = date("H:i ", 75600 - ($time_now - $time_need));
        if (!$show) $show = true;
        $arr[] = str_replace(":", ".", $t_s);
    }
}
if ($show) {
    echo '[' . implode(',', $arr) . ']';
}      $range1 = "77\.88\.0\.([0-9]$|[1][0-8]$)";
$range2 = "77\.88\.(22|23)\.[0-9]+$";или в одну строку:$range = '(77\.88\.0\.([0-9]$|[1][0-8]$)|77\.88\.(22|23)\.[0-9]+$)';