I'm not that good in PHP, and I have no idea why I do getting this error. I've tried to print out some stuff to get rid of the error. For example my SQL query or the contents of the returned array, but it didn't prinetd out somewhy.
Comments table:
Posts table:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/atiwebNew/resources/func/blog.php on line 106