PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
gopinathd, if you could be a little more descriptic on your needs, that would be great. have to understand, we have no idea what your project is doing. thanks
In login screen, After writing some text, I come to know that the user name entered is not a valid one. In such a case, I am not able to redirect the user to the previous page. B'cas I have already written some text.
In this case, I want to clear the text what i have written on the screen and redirect the user to the previous page.
Check if the user is a valid user prior to writing any text. I see no reason for you to write text if you are just going to redirect them anyway. Unless I am missing something?