Hi there,
I'm new to OOP in PHP and was wondering if you could help me. I have a script I would like to put into a function, inside a class. It basically sets the name of a variable depending on the value of another variable
var $i="h";
var $r=i."h";
var $$r="hello world";
I would be very greatfull if someone could tell me how to do this. I've searched the net and these forums but with no luck. As I said I'm new to this. If someone can help I would be most greatfull.
-Steve