|
ok, quick question. on attendance.php, i see you are connecting to the database, even though you have already included connect.php.
i think defining $username and connecting to the database might be causing a problem. if this is the same database as you are connecting to in connect.php, then there is no need to use the mysql_connect functions again.
can you take this out and try again? i went to your site and attendance.php seems to be the only script that is causing the logout.
__________________
Mike
|