Posts by Antonio Carlos • 13 points
1 post
-
1
votes1
answer1500
viewsQ: How to use mysqli_fetch_all in PHP correctly?
I have a PHP function using Mysql, follows: public function listAll(){ $sql = mysqli_query($this->conectar, "SELECT * FROM items"); $this->desconectar; return $sql->fetch_all(); } my page…