jeudi 30 mars 2017

Function MYSQLI_ASSOC Laravel 5.2

I have this function that should translate into laravel 5, how can I do?

public function query_while($resource)
    {
           $result = $this->query($resource);
                $Return = $result->fetch_array(MYSQLI_ASSOC);
                $result->close();
                return $Return;

    }

Thk John



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire