wtf.. dood we said its not the mysql_fetch_assoc ... that just itterates (loops) the result from mysql_query.

The problem is that mysql_query is not returning a resource: (Resource)

You need to make sure that the query and that table are correct

its not the php code. its the query / database layout