01-22-2008, 02:26 AM
|
#2 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Whats the error your'e getting?
Update:
Assign the sessions to the $data variable when looping.
Like so:
PHP Code:
$_SESSION['username'] = $data['username']; // then session register session_register($_SESSION['username']);
By the way, theres no session_start() at the very top,
that generates the session, then assigns the session to sql row, then you register the session to it and it should be there.
Uhh.. I don't know what else considering I'm half asleep here.
Also remember the mysql_real_escape_string function I told ye, also if you want to what I ment by generation. use session_start() then do print_r(session_id())
__________________
VillageIdiot can have my babbies ;d
|
|
|
|