@TimD, je moet niet alle sprookjes gebruiken. Buiten het feit dat het niet logisch is om de data uit een MySQL-query in een object te pompen, is het niet slomer.
[func]mysql_fetch_object[/func]:
Note: Performance
Speed-wise, the function is identical to mysql_fetch_array(), and almost as quick as mysql_fetch_row() (the difference is insignificant).
Of terwijl: Netzo snel als mysql_fetch_array, en bijna zo snel als mysql_fetch_row (Insignificant moet je zo zien: Er is wel een verschil, maar de functie opzich is zo veel slomer dan het verschil, dat het in de praktijk niet uitmaakt).
Vervolgens staat bij [func]mysql_fetch_assoc[/func]:
Note: Performance
An important thing to note is that using mysql_fetch_assoc() is not significantly slower than using mysql_fetch_row(), while it provides a significant added value.
mysql_fetch_row is het snelst (Logisch), mysql_fetch_assoc is praktisch even snel als mysql_fetch_object. En mysql_fetch_array is slomer als mysql_fetch_assoc: Deze haalt de gegevens dubbel op, numeriek, en op kolomnaam.
mysql_fetch_object is wel minder pratisch dan een array variant, maar niet slomer!