Столкнулся с ошибкой required parameter $query missing. Что делаю не так?
required parameter $query missing
mysqli_select_db($link, 'payments_cs');
mysqli_set_charset($link, 'utf8');
$request = "select t1.data_create, t1.order_id, t1.description, t1.status_pay, t1.status_desc, t1.reference_pay, t1.ldap_autor, t1.amount, t1.err_description, t1.transaction_id from transactions_new as t1 where t1.ref_vipcc = '$ref_vipcc'";
if(mysqli_num_rows(mysqli_query($request)) > 0){
$thisPayment = mysqli_fetch_array(mysqli_query($request));
$dataPayment = $thisPayment['data_create'];
$orderPayment = $thisPayment['order_id'];
}