From 697f8d47b67ed9c980d68e213e260f955f8a48df Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Wed, 19 Sep 2001 16:25:49 +0000 Subject: [PATCH] At least stop that error message --- cal.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cal.php b/cal.php index 433988935..13d88fb2e 100644 --- a/cal.php +++ b/cal.php @@ -7,11 +7,11 @@ exit; } */ - if(!isset($format)) { + if (!isset($format)) { $format = 'html'; } - if($format=='html') { + if ($format == 'html') { commonHeader("Event Calendar",1); include_once 'cvs-auth.inc'; @@ -23,8 +23,8 @@ } } - mysql_connect('localhost') or die('unable to connect to database'); - mysql_select_db('php3'); + @mysql_connect('localhost') or die('unable to connect to database'); + @mysql_select_db('php3'); $re = array(1=>'First',2=>'Second',3=>'Third',4=>'Fourth',-1=>'Last',-2=>'2nd Last',-3=>'3rd Last'); /*