select for all at-once data retrieval using mysql_store_result