Yes, but it redirects to the same page.
Because of alot of changes I had to make to my code, it got a little jumbled up.
I have at the top of my time system script, code that tells the user if he is logged in or not. Now after a user logs in, it still says not logged in, because the login part of the code gets executed after the message. Only after something else is processed, it tells the user that he is logged in. So, I need to process the login and then reload the page to read the database again to register that user is logged in and display the message accordingly.
I know it is not the right way to do it, but I have a deadline.
thanx ######## CtN ########