Answer the question
In order to leave comments, you need to log in
phpstorm inspections sql. how to disable sql inspection?
$z = self::db()->prepare(sprintf(
'SELECT `u`.`id`, `u`.`login` FROM `%s` as `u`, `%s` as `x` WHERE `x`.`group_id` = %s AND `u`.`id` = `x`.`user_id` AND `u`.`id` != %s;',
Tables::USERS, Tables::USER_GROUP, $groupId, $this->user->getId()));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question