Hello! I use mysqli in my project and use fetch_all to select all the options. But the hoster does not support the mysqli library, suggested that I use the following solution (NOT ADVERTISING http://goo.gl/KgtPRl). The structure of the code is simple, but I do not understand, how can I replace mine with the above? My code

public function all_fetch_array() { return $this->result->fetch_all(); } 

    1 answer 1

    I advise you to write in support of hosting and ask to add MySQLi. I don't think they will mind.

    And in general, it is very outrageous that MySQLi is missing from the hosting, doesn’t this make you think about changing the hosting provider?

    • @Bastian tried, advised to switch to VPS. By the way, hosting is very popular - R * G.RU. A lot of sites are posted there, a chore. I want to try without it. - Lektor
    • @Lektor, I'm also behind VPS, but probably not at reg.ru - etki
    • @Etki ie without the problem can not be solved? - Lektor
    • Reg.ru as a hoster, very much sucks :) on the Internet a large number of excellent hosting providers. - Bastiane
    • @Lektor can take another host and continue to live on shared, why not. - etki