Class problem - Fatal error:

From: Date: Thu, 29 Aug 2002 04:48:52 +0000
Subject: Class problem - Fatal error:
Groups: php.general 
Request: Send a blank email to php-general+get-114464@lists.php.net to get a copy of this message
Hello I get this error: Fatal error: Cannot redeclare class dmsql in /usr/local/apache/htdocs/dm/inc/sql.inc.php on line 4 It happens when a user presses the back button, otherwise when the page is first loaded it works fine. Here's the file called with web browser include('class_dmsql.inc.php'); include('class_b.inc.php'); $r = new class_b Please note that class_b extends class dmsql, Can anyone help me ? Thanks

« previous php.general (#114464) next »