Welcome Guest, Not a member yet? Register   Sign In
how declare variable inside constructor?
#2

[eluser]Dam1an[/eluser]
You've been told to use code tags so many times now!
Look into using $this, it works in the scope of a class instead of just a function. I'll let you actually read up on this and figure something out for yourself

Oh, and one last thing, you seem to be asking "will this work" in a lot of your posts. Why not try it and find our, and then read up on it to understand why


Messages In This Thread
how declare variable inside constructor? - by El Forum - 09-02-2009, 12:38 AM
how declare variable inside constructor? - by El Forum - 09-02-2009, 01:14 AM
how declare variable inside constructor? - by El Forum - 09-02-2009, 05:42 AM
how declare variable inside constructor? - by El Forum - 09-25-2009, 12:54 AM
how declare variable inside constructor? - by El Forum - 09-25-2009, 02:02 AM
how declare variable inside constructor? - by El Forum - 09-25-2009, 07:50 AM
how declare variable inside constructor? - by El Forum - 07-19-2011, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB