Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Problem with Include (newb question)
November 7, 2007, 2:53 pm
rate this thread
statement to work. Can anyone help me?
This is the error I get:
Warning: include() [function.include]: Failed opening '' for inclusion
(include_path='.:/php/includes') in /home/ptaylor/public_html/am_web/
model/classes/customer.php on line 3
This is the contents of the customer.php file:
THIS IS LINE 3, WHERE THE ERR IS REPORTED
class Customer implements TableObject
public $Children; #Children are Regions
public function __construct($id)
$this->Id = $id;
public function GetTableName()
public function GetTableId()
public function GetChildren()
public function GetRights()
public function GetTreeText()
The file is DEFINETELY 100% in that location. If I do cd ../
interfaces/ there is a file there called tableobject.php
the contents of that file is this:
#Represents an object that lives in the database.
public interface TableObject
Can anyone help? Is the include statement in the wrong place?
- » Furthering my education in OOP - where/how can one learn professional skills?
- — Previous thread in » PHP Scripting Forum