Search found 3 matches

by geoff
Sun May 18, 2008 11:43 pm
Forum: PHP - Code
Topic: Login Stuff
Replies: 2
Views: 115

Login Stuff

Hey I was wondering if anyone knew of any good sites which had simple login page examples. I was also wondering once you login and do all the db queries how you would get other pages in the website to recognise that you are still logged in and that these pages would then if logged in allow stuff to ...
by geoff
Sat May 17, 2008 1:46 am
Forum: PHP - Code
Topic: PHP Arrays
Replies: 4
Views: 625

Re: PHP Arrays

yeah that does help, but the query i have is in an query page where is performs the query and brings back one result which is $members = get_login($username);. After this i then want to go through the completed queries array $member and pick out the id but it doesn't allow me because the array when ...
by geoff
Sat May 17, 2008 12:38 am
Forum: PHP - Code
Topic: PHP Arrays
Replies: 4
Views: 625

PHP Arrays

Hi i have a array which is populated from a mysql query, It selects values from 3 columns in the table. I was first wondering how to retrieve say the id column value from the array. When i do a print_r(array_values($members)); line it comes out with this: Array ( [0] => Array ( [0] => 2 [id] => 2 [1...