Well I am quite now to PHP and sometimes I use a hack from here and read code from the forum and the hack to understand what it exactly does. Well I try to retrace it...do you know a good site for PHP-coding?
I tried the above one also but did not work...but I think I understand it now....you can check the database directly by assigning a query to a variabel with in one result the logged in user is in the database then it is true or else false.
You could also use a fetch_array and then assing a variabele array like userid[] which fills an array of information out of the database...
This is correct or not?
Yours is much faster indeed but my database is very small for 150 users.
Thanx for your effort!
|