Single-Query-Option
Init array before appending, Use array length instead of MySQL num_rows because this value is not correctly reported on some servers