hashstar Posted May 14, 2012 Share Posted May 14, 2012 Can someone explain to me how this is done? Quote Link to comment https://forums.phpfreaks.com/topic/262501-how-to-pass-a-variable-into-an-object/ Share on other sites More sharing options...
requinix Posted May 14, 2012 Share Posted May 14, 2012 Use a constructor or method. If you don't know what those are then read up on object-oriented programming. Quote Link to comment https://forums.phpfreaks.com/topic/262501-how-to-pass-a-variable-into-an-object/#findComment-1345275 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.