Access your localhost by typing localhost into your webbrowser. You can access your VS code project by typing localhost/[enter your projects folder name]. Add the Live Server extension on Google ...
Login form with php and mysql using session. See the tutorial here: https://sribuhost.com/login-form-php-mysql-with-session/ ...