Can someone please tell me if you require to include a class before you can instantiate it with the include() function, as if i include say error.php in mysqlconn.php and then create a new file login.php and include both mysqlconn.php and error.php it complains as shown:
Fatal error: Cannot redeclare class errorlogging in C:\Intranet\php\errorLogging\ErrorLogging.php on line 8
is this because it appears in both files, do i even need to include or should i be doiong it some other way?
Again Thanks in advance!