So I have 3 classes in this situation.
Connection.php
Engineer.php
Status.php
Both Engineer and Status classes actually use connection. Hasn't been a problem but now that I'm using both classes in a page I'm getting
Fatal error: Cannot redeclare class Connection
Is there a way round this? In both classes I need db access from the connection class.
Thanks,
Jonesy