the class you are defining is already or the file in which you have defined the class in somehow included twice.. consider using require_once for you class include file.
HTH, Haseeb ----- Original Message ----- From: "robi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 1:15 PM Subject: [PHP] Fatal error help > hello > I am programing a simple chat and I am using my own classes > and I get this error I have no idea what it is. > pls help. > > Fatal error: Cannot redeclare class ch in /var/www/html/class/common.php on > line 3 > > troby > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php