0

I'm getting error, mysqli_fetch_assoc() expects parameter.

I fired a query named $sql2 and connection name $db. My query execution was successful but when I'm fetching results in $result = mysqli_fetch_array(), it gives me an error.

19th Jan 2017, 10:51 AM
Inder Sav
Inder Sav - avatar
2 Antworten
0
$result = $db->query($sql2); $arr = mysqli_fetch_assoc($result); see more: http://php.net/manual/en/mysqli-result.fetch-array.php
19th Jan 2017, 7:36 PM
Jani Sinkkonen
Jani Sinkkonen - avatar