Associate
Hello,
I am a procedural programmer and have started to look at oop programming and have a query I am struggling to get my head around.
Currently, if I am pulling member data from a database I would hold the data in a linked list and can then use this to loop through the members and manipulate as many times as I want. How would I do this using a Member Object, i.e. how do I declare the member object for each member. A lot of examples seem to hardcode the object, i.e. m1, m2 ......
Sorry if not worded correctly or I have not made myself clear, if this is the case please ask for further examples and I will be happy to provide.
Apologies if being incredibly thick![Confused :confused: :confused:](/styles/default/xenforo/vbSmilies/Normal/confused.gif)
Many Thanks
I am a procedural programmer and have started to look at oop programming and have a query I am struggling to get my head around.
Currently, if I am pulling member data from a database I would hold the data in a linked list and can then use this to loop through the members and manipulate as many times as I want. How would I do this using a Member Object, i.e. how do I declare the member object for each member. A lot of examples seem to hardcode the object, i.e. m1, m2 ......
Sorry if not worded correctly or I have not made myself clear, if this is the case please ask for further examples and I will be happy to provide.
Apologies if being incredibly thick
![Confused :confused: :confused:](/styles/default/xenforo/vbSmilies/Normal/confused.gif)
Many Thanks