olidenia
11-17-2010, 11:58 AM
Hello to all,
I have this script it's part of a login system and it puts the values USER & PASSWORD in array for further authentication:
$LOGIN_INFORMATION = array(
'User1' => '123456',
'User2' => '789101'
);
I want to populate this array from a sql table named access that has username and password databases.
how can I do this? I think i know a way of doing it but I have a problem with the hiding the last comma in the array.
I have this script it's part of a login system and it puts the values USER & PASSWORD in array for further authentication:
$LOGIN_INFORMATION = array(
'User1' => '123456',
'User2' => '789101'
);
I want to populate this array from a sql table named access that has username and password databases.
how can I do this? I think i know a way of doing it but I have a problem with the hiding the last comma in the array.