Posted by Jerry Stuckle on 04/18/06 02:30
Wescotte wrote:
> Sure, but I prefer to find a method that allows for virtually no
> modification to the original code.
>
> I do prefer to use the method David suggested. I wasn't aware I could
> do something like $new_class = new $class_name_string;
>
> I'd also like to thank you guys for all the help
>
The only problem might be - I don't know if you can do it directly. You may
have to do something like
$myObject = eval(new $className);
Never tried it either way, though.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|