Hi celticshaman.
The problem seems to be with $dbc, it's content isn't being recognised as a valid resource. The source of the problem is probably the line that defines it, it will look something like this.
PHP Code:
$dbc = mysql_connect('localhost', 'mysql_user', 'mysql_password');
Double check your MySQL details, you'll probably find one of them is wrong.