Results 1 to 25 of 47
Thread: Is PDO the new standard?
Oct 9, 2008, 12:21 #20
- Join Date
- May 2006
- Lancaster University, UK
- 2 Post(s)
- 0 Thread(s)
Well, if you're used to an object returning database results, you'd want it FETCH_OBJECT.
If you're used to using mysql_fetch_array, you'd want FETCH_ASSOC or FETCH_ARRAY, depending on your goal.
For those used to grabbing everything from the db, they want FETCH_LAZY to make things faster.
There are more. Alot more.
But each are suited to a different situation.
A car company is going to be useless if they only sell cars suited for people under 4ft high.Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona