I have written a login form, in this I have used, form and method is post and action is(PHP self) <?php $_PHP_SELF ?>
(am using php in the form itself). In php i have written if the login is success then 'welcome' and if it fails then 'sorry'.
But those results are coming in a new page. I want to get those results in the same page when i click the submit button. How can I do this?