Newbie in back end

I have a project that im doing for school, but im getting this error everytime and also im having some issues using xampp

I want to make a register form and a login form and also the website will have a session so when i go to other html files its still getting that im in the same email

what i wanted to do is
that i have 4 individual files
1. html file : that has the form tag and the name of each input
2. php file : here im just making error handling to send it to js to change style in css
3. js file: im changing the style so that it makes shake effect if for example the confirm_password is wrong
4 css file

but the problem im always getting this issue

Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

and also i dont why for some reason when i try to save any file i need to be in incognito window after saving a just close and the open another windown and mysql keeps crashing

please anyone can help me with this project im so frustrated im trying to self learn but i got no time to do this my deadline is in 3 days
Was this page helpful?