Design Practice Retrieve Multiple Users - PHP
- by pws5068
Greetings all, I'm looking for a more efficient way to grab multiple users without too much code redundancy.
I have a Users class, (here's a highly condensed representation)
Class Users {
function __construct() { ... ... }
private static function getNew($id) {
// This is all only example code
$sql = "SELECT * FROM…