hmm. that's a good question, to me at least.
i have 2 ideas, instead of using the exit; statement, use the continue; statement.. something like this:
<?
@ db = mysql_pconnect(...);
if (!db)
{
...Display Error
continue; // notice the change.
}
...Handle Database information
?>
...HTML CODE (THE CODE I WANT TO BE DISPLAYED)
my other thought is to just suppress the error in mysql_connect(); and leave it as it is...
$db = @mysql_pconnect(...);
HTML CODE..........
hope this helps or at least gives you an idea.