PHP
7
Вклад в тег
$subscriber = new Subscribers();
$arSubscriberList = $subscriber->getList();
foreach($arSubscriberLis as $subscriber) {
$sql = 'SELECT NAME,LAST_NAME FROM b_user WHERE EMAIL='.subscriber['email'].';';
$resSubscriber = $DB->Query($sql);
$result[] = $resSubscriber->Fetch();
}