PhP is mysqlnd installed? -


i use queries similar throughout app:

$stmt = $connection->stmt_init(); $sql = "select * table"; $stmt->prepare($sql); $stmt->execute(); $results = $stmt->get_results(); 

when went test on live server, appears $stmt->get_results(); craps out.

i recieve no error, or that, does... nothing?

using magic of google appears $stmt->get_results(); work, need have mysqlnd installed.

can solidify this? also, why mysqlnd not installed on server? have seen users unable installed, why hosting provider unwilling offer this?

finally; there way check (other running function , getting no results), if mysqlnd available or not?

as always, so

edit

i see there references mysqlnd in php.ini, nothing appear have disabled. there setting / settings in php.ini need configred myslnd function?

answer

i dont feel worthy of answering own question, ended with:

$results = $stmt->get_results(); needs $results = $stmt->get_result(); had contact hosting provider , have them "re install" mysqlnd previous install not complete.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -