Sorry for my bad English! Just look at the selection because the query it self is good.
Asked
Active
Viewed 58 times
-2
-
3Possible duplicate of [mysqli\_fetch\_array()/mysqli\_fetch\_assoc()/mysqli\_fetch\_row() expects parameter 1 to be resource or mysqli\_result, boolean given](http://stackoverflow.com/questions/2973202/mysqli-fetch-array-mysqli-fetch-assoc-mysqli-fetch-row-expects-parameter-1) – Epodax Jun 06 '16 at 08:03
1 Answers
1
your query is failing, try replacing this:
$res = mysqli_query($sql,$db)
or die("Error: ".mysqli_error($db));

Tamaghna Banerjee
- 168
- 2
- 18