Hello. Here's what I'm working on. I have a database with calendar events, and before printing these events to the page, I want to store each event into an object, and each object into an array of objects. I understand the idea behind objects just find, but I just have problems using them.
The reason I want to use objects is that I'm going to use session and pass the objects to another document (in order to save myself from making another query to the database). I don't know how specific I'm supposed to go into, but basically what happens is that if they want to edit an event, they click the 'edit' button for that event and the event object (out of an array of event objects) with all its event object properties (ID, name, time, etc) are transferred to the edit page so that they can be displayed again (they'll be displayed in a form I already have set up).
But I think I'm getting ahead of myself. Right now I want to use my loop to read in each event (and the few properties with each event) into an object, and have all of those objects make up an array.
Thanks very much for help. This is my first time in one of these boards.