Welcome Guest, Not a member yet? Register   Sign In
$result->fetch_assoc() is failing
#5

(This post was last modified: 05-15-2018, 04:06 PM by richb201.)

aha, but there is a mysqli_fetch_assoc in php. Could the answer be to append the mysqli_ onto it? I tried that but it didn't work. Because that would presume that I used
 
mysqli_query instead of the actual line below.

       $result = $this->db->query($sql);


Here is the def of what mysqi_fetch_assoc does:

(PHP 5, PHP 7)

mysqli_result::fetch_assoc -- mysqli_fetch_assoc — Fetch a result row as an associative array

perhaps I can build a command that does the same thing as thing as this non-existing function call?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
$result->fetch_assoc() is failing - by richb201 - 05-15-2018, 01:03 PM
RE: $result->fetch_assoc() is failing - by richb201 - 05-15-2018, 04:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB