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:
?php
class Foo
{
public function className()
{
return 'Foo';
}
}
$foo = new Foo;
$bar =
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:
?php
class Foo
{
public function className()
{
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:
?php
class Foo
{
public
3 matches
Mail list logo