Here's the my SQL table:
order_id | product_id | deal_title | currency_code | total | date_modified
My Question is how do I make an array in PHP like in the below:
Array
(
[product_id_num1] => Array
(
[order_id]
[deal_title]
[currency_code]
[total]
[date_modified]
)
[product_id_num2] => Array
(
[order_id]
[deal_title]
[currency_code]
[total]
[date_modified]
)
[product_id_num3] => Array
(
[order_id]
[deal_title]
[currency_code]
[total]
[date_modified]
)
etc....
)
Thanks!