I've a problem accessing MariaDB's VIEWs via PHP+mysqli.
I defined a TABLE and a simple VIEW on it. Using Adminer I can see all data of the view. But if I try to query the VIEW using PHP+mysqli I get the error:
AH01215: Prepared statement needs to be re-prepared.