I have created a website, I have to login to view this site, now I have copied all files into a new directory and created a separate database for that.
The problem is whenever I am logging in one site the other one is also logging in, and also for log out. Can anyone tell me why this is happening? My server is running on localhost (XAMPP).
I followed this tutorial to create login page: https://www.tutorialspoint.com/php/php_mysql_login.htm