Here is the new code:
<?
class MySql
{
// This class has some miscellaneous that make life easier
include "clsUtilities.php";
private $utils = new Utilities();
I still get this error:
test1PHP Parse error: syntax error, unexpected T_INCLUDE, expecting T_FUNCTION in C:\Program Files\Apache Group\Apache\htdocs\textbook\clsMySql.php on line 5
If I put the include "clsUtilities.php" outside of the class, then I get this error:
test1PHP Parse error: syntax error, unexpected T_NEW in C:\Program Files\Apache Group\Apache\htdocs\textbook\clsMySql.php on line 6
<?
include "clsUtilities.php";
class MySql
{
// This class has some miscellaneous that make life easier
private $utils = new Utilities();
It doesn't make a differnence whether i put new or New.
Thanks for the replies that I have already recieved.