Welcome Guest, Not a member yet? Register   Sign In
Userlib - User Library
#24

[eluser]Jamongkad[/eluser]
[quote author="Code Arachn!d" date="1185313775"]One thing I forgot - the changes I added are for if you're trying to list multiple users... in the case of pulling one user back - do the same thing just make sure you set your $username - and then it'll loop though just one record since you've limited the return...
[/quote]

Check I modified the source code of Userlib with your new getData function and so far it's working. When you say set the $username I think this is what you're talking about?

Code:
$user_list = $this->userlib->getData($username);

foreach( $user_list as $user )
{
echo $user['username'];
}


Messages In This Thread
Userlib - User Library - by El Forum - 07-04-2007, 09:43 AM
Userlib - User Library - by El Forum - 07-04-2007, 10:27 AM
Userlib - User Library - by El Forum - 07-04-2007, 12:15 PM
Userlib - User Library - by El Forum - 07-04-2007, 12:21 PM
Userlib - User Library - by El Forum - 07-04-2007, 12:26 PM
Userlib - User Library - by El Forum - 07-04-2007, 12:31 PM
Userlib - User Library - by El Forum - 07-04-2007, 12:44 PM
Userlib - User Library - by El Forum - 07-06-2007, 12:08 AM
Userlib - User Library - by El Forum - 07-06-2007, 02:01 AM
Userlib - User Library - by El Forum - 07-06-2007, 12:00 PM
Userlib - User Library - by El Forum - 07-06-2007, 04:35 PM
Userlib - User Library - by El Forum - 07-08-2007, 07:03 AM
Userlib - User Library - by El Forum - 07-13-2007, 07:41 AM
Userlib - User Library - by El Forum - 07-13-2007, 01:19 PM
Userlib - User Library - by El Forum - 07-16-2007, 04:23 AM
Userlib - User Library - by El Forum - 07-18-2007, 08:04 AM
Userlib - User Library - by El Forum - 07-18-2007, 12:36 PM
Userlib - User Library - by El Forum - 07-19-2007, 10:09 AM
Userlib - User Library - by El Forum - 07-19-2007, 11:00 AM
Userlib - User Library - by El Forum - 07-24-2007, 10:19 AM
Userlib - User Library - by El Forum - 07-24-2007, 10:37 AM
Userlib - User Library - by El Forum - 07-24-2007, 10:46 AM
Userlib - User Library - by El Forum - 07-24-2007, 10:49 AM
Userlib - User Library - by El Forum - 07-25-2007, 01:34 AM
Userlib - User Library - by El Forum - 08-14-2007, 04:17 AM
Userlib - User Library - by El Forum - 01-07-2008, 09:28 AM
Userlib - User Library - by El Forum - 01-13-2008, 08:40 AM
Userlib - User Library - by El Forum - 01-20-2008, 03:41 PM
Userlib - User Library - by El Forum - 02-14-2008, 05:06 PM
Userlib - User Library - by El Forum - 03-15-2008, 06:46 PM
Userlib - User Library - by El Forum - 11-26-2008, 01:12 PM
Userlib - User Library - by El Forum - 12-01-2008, 09:23 AM
Userlib - User Library - by El Forum - 09-07-2009, 03:09 PM
Userlib - User Library - by El Forum - 09-08-2009, 10:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB