PHP Classes

Error in example

Recommend this page to a friend!

      Table Element  >  All threads  >  Error in example  >  (Un) Subscribe thread alerts  
Subject:Error in example
Summary:Wrong filename used in example's require_once () directive
Messages:1
Author:Jason McKormick
Date:2005-01-09 22:33:43
 

  1. Error in example   Reply   Report abuse  
Picture of Jason McKormick Jason McKormick - 2005-01-09 22:33:43
The class example contains
require_once "class.table.php";
while the actual package has only one file (excluding the example) which is class.tableelement.php
For example to work this line must be changed to
require_once "class.tableelement.php";

Cheers,
Evgeniy