Good day!
This is pretty basic to some.
I have this code on my controller:
$data["sales_info"] = $this->The_model->get_sales_info(SELECT * FROM sales WHERE sales_id = 123);
Then get_sales_info() method under The_model stores the specific sales information into an array.
Now, I'm doing some debugging, so from the controller, I want to extract from the $data["sales_info"] and echo only the value of 'sales_date'.
How am I going to do this?
Thank you!