On May 3, 2008, at 4:46 PM, Jack Bates <[EMAIL PROTECTED]> wrote:
I am trying to load PHP objects stored in a database, where the class
name is stored in a column:
$object = new $resultSet->getString(1);
This fails for the same reason that the following fails:
className();
Fatal error: Clas
On 4 May 2008, at 00:46, Jack Bates wrote:
I am trying to load PHP objects stored in a database, where the class
name is stored in a column:
$object = new $resultSet->getString(1);
This fails for the same reason that the following fails:
className();
I would rather have a factory method that
I am trying to load PHP objects stored in a database, where the class
name is stored in a column:
$object = new $resultSet->getString(1);
This fails for the same reason that the following fails:
className();
Fatal error: Class name must be a valid object or a string in test.php
on line 12
I gu
3 matches
Mail list logo