ThingEngineer / PHP-MySQLi-Database-Class

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.
Other
3.3k stars 1.34k forks source link

mysqli_result::fetch_field support #603

Open Tux-box1 opened 7 years ago

Tux-box1 commented 7 years ago

Fairly new coder her, so please excuse my question if it is silly.

More info on what fetch_field does can be found here: http://php.net/manual/en/mysqli-result.fetch-field.php

When I try to use "fetch_field()" to obtain field names I get the following error. Fatal error: Uncaught Error: Call to a member function fetch_array()

Also side question, any reason why I shouldn't change this class to inherit mysqli?

Tux-box1 commented 7 years ago

Any possibility to get this supported?