How to access property values in each row of CodeIgniter's result()
09:39 16 May 2017

I simply want to know how to access array elements retrieved from a database. I have the following code to get the names of each item in my database.

$plat_options = $this->db->get('tblplatform_options')->select('name')->result();

How do I go about accessing the name from the array $plat_options? Typically I would do $plat_options[0] for the first element in C#, how is this done in php/codeigniter?

php arrays codeigniter resultset