Say I have an object called ListStudents which queries a database for all known students. My first (procedural) impulse is to loop through the dataset and store each row in pre-formatted html rows. But something tells me there is a better way of handling it with OOP. Can someone help me?
no subject
Date: 2006-07-28 03:02 pm (UTC)From:no subject
Date: 2006-07-28 03:28 pm (UTC)From:http://www.devarticles.com/c/a/PHP/Code-10x-More-Efficiently-Using-Data-Access-Objects-Part-1/