View Single Post
Old 11-17-2007, 02:34 PM   #6 (permalink)
DarkPrince11
The Wanderer
 
Join Date: Nov 2007
Posts: 12
Thanks: 0
DarkPrince11 is on a distinguished road
Default

If you create a columns object inside the table object,than you cannot access that object directly out of the object.

For example

PHP Code:
<?php

class table {

     public 
$columns;

     public function 
__construct() {
          
$this->columns = new columns();
     }
}

//Will Work//
$table = new columns();
$table->columns->function();

//Will Not Work Unless You Create A New Columns Object ($columns = new columns()//
$columns->function();
?>
Send a message via AIM to DarkPrince11 Send a message via MSN to DarkPrince11
DarkPrince11 is offline  
Reply With Quote