[UPHPU] subsituting variable into new object command

jtaber jtaber at johntaber.net
Fri Jun 30 17:19:56 MDT 2006


Josh Jeppson wrote:
> I think you're only missing the parens following the object name. Like
> so:
>   $obj = new $objname();

Scott, Josh,

thks for the help - I kept including the "()" inside the $objname string
- put it outside and it works great. 
John


More information about the UPHPU mailing list