<?php
if (@mysql_connect('localhost', 'root', 'ut34FblY:')) {
if (@mysql_select_db('game')) {
$r = mysql_query('SELECT * FROM news ORDER BY date DESC LIMIT 1');
...
<?php
try {
mysql_connect('localhost', 'root', 'ut34FblY:'));
mysql_select_db('game');
$r = mysql_query('SELECT * FROM news ORDER BY date DESC LIMIT 1');
} catch (Exception $e) {
/* Do recovery */
exit();
}