Table rows can be read using:

array mdb_fetch_row(resource)

array mdb_fetch_assoc(resource)