OVH Community, votre nouvel espace communautaire.

PHP undefined method mysqli_stmt::get_result()


Jikoo
22/06/2015, 19h42
http://php.net/manual/en/mysqli-stmt.get-result.php

Please note that this method requires the mysqlnd driver. Othervise you will get this error: Call to undefined method mysqli_stmt::get_result()
Une petite aide: http://stackoverflow.com/questions/8...stmtget-result

elBiyo
08/05/2015, 15h21
Bonjour,

J'essaie de mettre en place un api RESTFul en PHP sur mon hébergement PERSO.

Quand j'appelle la fonction "$stmt->get_result()->fetch_assoc();" j'ai le message "Call to undefined method mysqli_stmt::get_result()".

J'ai lu qu'il fallait absolument le module mysqlnd driver. J'ai passé ma config php en 5.6.6 et quand je fais un phpInfo() je vois pourtant une ligne sur mysqlnd.

Quelqu'un aurait une idée ?

Merci à tous.