Oh wait...the "close db" statement was already included here:

Code:
#mysql_query("TRUNCATE TABLE `playlist`"); // uncomment if you also don't want to track peoples entire playlists.
    mysql_close($db);
Do we need to put it again after the

Code:
print "Your guests and their play lists have been cleared from the database.\n";
??