what to check before using 'get_result' function?
-
I used this condition to check if the server supports get_result function or nor, it works fine in local host and my two online server but for the third on I’ve gotten an error
if ( phpversion() >= '5.3.0' && phpversion('mysqlnd') && extension_loaded('mysqlnd') ) { if ( !$this->result = $this->statement->get_result() ) $this->error("Getting result set failed: (" . $this->statement->errno . ") " . $this->statement->error); $this->statement->close(); if ( is_bool($this->result) ) return $this->result ? array() : false; return $this->result($hasObjectiveResult); }What extra thing I should have checked for make sure the server supports get_result?
now it says undefined function get_result?
how can I make it work?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘what to check before using 'get_result' function?’ is closed to new replies.