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

[eluser]brixxster[/eluser]
Hello everyone,

I have an array

Code:
$data['rows'] ( 'fname' => My Name, 'lname' => My Last name, 'acct_type' => 2)

I wanted to test acct_type so I can redirect to specific function according to its value. I'm using switch case for the testing, what is the correct syntax for getting the acct_type value in the array? I'm still a newbie so forgive me if this reads like a dumb question.

thanks everybody.


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