Conflicting scripts

I am trying to add a poll script to my site and it is causing my latest comment box to show the message below:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/directory/public_html/setme/skins/default/skin.php  on line 784

This is the code on line 787, in red:


<? $getLatestComments = mysql_query("SELECT SQL_CACHE * FROM protorant_posts WHERE is_this_update='1' ORDER BY post_date DESC LIMIT 5");
[COLOR="Red"]while ($latestComment = mysql_fetch_array($getLatestComments)) { ?>[/COLOR]

Any ideas on how to fix this would be greatly appreciated.

The most likely cause is that the query has failed, try running the query directly against MySQL or run the query via phpmyadmin, what is the error returned?