Answer the question
In order to leave comments, you need to log in
I can not get the IP from the database, who can help?
'id' => new Expression('(SELECT COUNT(`id`) FROM ' . $this->getTable() . ' WHERE `ip` = INET_ATON(' . "$ip" . '))', []),
Answer the question
In order to leave comments, you need to log in
Output the generated text of your request, find the place indicated in the error and look carefully.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question