hashstar Posted May 14, 2012 Share Posted May 14, 2012 Can someone explain to me how this is done? 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. 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
Archived
This topic is now archived and is closed to further replies.