cvs: phpweb / cal.php

From: Date: Wed, 19 Sep 2001 16:25:49 +0000
Subject: cvs: phpweb / cal.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6445@lists.php.net to get a copy of this message
goba Wed Sep 19 12:25:49 2001 EDT Modified files: /phpweb cal.php Log: At least stop that error message Index: phpweb/cal.php diff -u phpweb/cal.php:1.20 phpweb/cal.php:1.21 --- phpweb/cal.php:1.20 Fri Jul 27 14:06:13 2001 +++ phpweb/cal.php Wed Sep 19 12:25:49 2001 @@ -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'); /*

« previous php.mirrors (#6445) next »