Rectangle 27 0

php Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in Error?


$sorgu=mysql_query("select * from portalmakale where id='$id'") or mysql_error();
select * from portalmakale where id='$id'

also you can use mysql_error()like this

copy and paste your query

directly in database there it will show you the error.

Note