ILMV Posted April 24, 2009 Share Posted April 24, 2009 Hello All I have a variable of which stores the name of a class of mine, if the variable contained this string "myclass", how could I use that to load the myclass class? Many Thanks ILMV Quote Link to comment Share on other sites More sharing options...
ILMV Posted April 24, 2009 Author Share Posted April 24, 2009 Oh... I didn't need it, I could just do $foo = new $var; Oh well, thanks anyway Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.