Welcome Guest, Not a member yet? Register   Sign In
Newbie array question
#2

[eluser]JHackamack[/eluser]
Depending on the array type (object or regular) it would either be

Code:
//regular
$data['rows']['acct_type']

or
Code:
//object
$data['rows']->acct_type

If you are using active record to set the $data['rows'] array then it is probably object, but if you are setting it yourself then its probably regular.


Messages In This Thread
Newbie array question - by El Forum - 01-21-2010, 09:05 PM
Newbie array question - by El Forum - 01-21-2010, 09:27 PM
Newbie array question - by El Forum - 01-21-2010, 09:58 PM
Newbie array question - by El Forum - 01-21-2010, 10:03 PM
Newbie array question - by El Forum - 01-21-2010, 10:21 PM
Newbie array question - by El Forum - 01-21-2010, 10:23 PM
Newbie array question - by El Forum - 01-21-2010, 10:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB