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.
2 Respuestas
0
$result = $db->query($sql2);
$arr = mysqli_fetch_assoc($result);
see more:
http://php.net/manual/en/mysqli-result.fetch-array.php