Array Format from returning recordset

Hi Experts,

It seems that the array format of the returned recordset is different as of returning recordset from oracle REFCURSOR and in returning recordset using SELECT query in MYSQL.

Recordset in ORACLE using REFCURSOR



Array
(
[users_id] => 1
[users_id] => 2
)

Array
(
[first_name] => John
[first_name] => Smith
)


In MSQL:



Array
(
[users_id] => 1
[first_name] => John
)

Array
(
[users_id] => 2
[first_name] => Smith
)


Can any one suggest…is any way to get array as of oracle REFCURSOR in PHP using MYSQL?

Thanks,
Dharan V