[eluser]kikz4life[/eluser]
hi there CI community,
i have a problem. Im trying to retrieve just the userid in my table but it return me a blank value
Code:
$cdt['userid'] = $user["userid"];
print_r($cdt);
print_r($user);
with print_r($user) it return me this values:
Code:
Array
(
[cDivision] => PC001
[UserID] => CGAMBOA
[LastName] => GAMBOA
[FirstName] => CRIS
[MI] => P
[Initials] =>
[RoleID] => CEO
[DeptID] => ADMIN
[Password] => 21232f297a57a5a743894a0e4a801fc3
[PassErrCtr] => 0
[Email] =>
[Phone] =>
[Locked] => 0
[InUse] => 0
[cTasksIDNo] =>
[Status] => 1
[Modified] => 2008-02-20 00:00:00.0000000
[Created] => 2008-02-20 00:00:00.0000000
[deptid] => ADMIN
[dDescription] => ADMINISTRATION AND FINANCE
[roleid] => CEO
[rDescription] => CEO
)
but with this print_r($cdt):
Code:
Array
(
[userid] => //blank. Must return me the CGAMBOA value
)
Am i doing something not right here? hmmm. I just want to get the userid.
Any pointer will help.
Cheers
-Dean