Welcome Guest, Not a member yet? Register   Sign In
Getting associative array value without foreach loop?
#1

[eluser]jsuissa[/eluser]
Hi,

So I'm able to get name/values with a foreach loop from $data['resume'] shown below.

However I can't figure out how to access a single value from this row_array provided I already know the name associated with the value (i.e. name: vanity_name value: ABC)

Is it possible to get this value without using a foreach loop?

Code:
$data['resume'] = $this->resume_model->get_resume_profile($id);

Thanks in advance for any help!

Justin


Messages In This Thread
Getting associative array value without foreach loop? - by El Forum - 01-19-2012, 10:42 PM
Getting associative array value without foreach loop? - by El Forum - 01-19-2012, 11:17 PM
Getting associative array value without foreach loop? - by El Forum - 01-19-2012, 11:45 PM
Getting associative array value without foreach loop? - by El Forum - 01-20-2012, 01:51 AM
Getting associative array value without foreach loop? - by El Forum - 01-20-2012, 09:32 AM
Getting associative array value without foreach loop? - by El Forum - 01-20-2012, 12:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB