I\'m trying this code:
if ($result = $this->mysqli->prepare(\"SELECT * FROM `mytable` WHERE `rows1`=?\")) { $result->bind_param(\"i
The method execute() returns TRUE or FALSE not a result set and as such, the fetch_assoc method cannot be used as it does not exist on booleans. What you need is
mysqli_fetch_assoc($result); //Use in association with query();