:D
<?php $profile = $modx->user->getOne('Profile'); $sql = "SELECT * FROM modx_examResults"; $statement = $modx->query($sql); $users = $statement->fetchAll(PDO::FETCH_ASSOC); $mail = $profile->get('email'); foreach ($users as $k => $user) { print_r($users); }
Обсуждают сегодня