after you run the mySQL query add this:
PHP Code:
if (mysql_num_rows($select) >0) {//there are tutorials in this cat.
//print out your stuff
} else {//nothing in this cat.
echo 'Sorry, no tutorials in this category'; //replace with message of your choice.
}
i'm not sure if this is what you're looking for or not. hope it helps.