I want to do redirect from my login page to the display profile page, but I don't know how to do it. Many suggested the concept of
header('Location: $location');
but its working only in the beginning part of the code. What if we want to forward it after confirming the username and password?
How about this?
echo"<html><?php header('location:www.google.com'); ?></html>";