Its my first time posting here.
I tried to update my website. So I replaced some php file in the file manager including the php file for sign up page. I run it and everything is fine not until I run the sign up page. I can’t insert the data in database. It only shows “Failed to sign up”. I checked the source code and there’s no error. Actually, the page works fine when it was still connected to the xampp. I thought it was only from the browser so I tried to run it in Mozilla, Google Chrome, and Microsoft Edge but it still the same. Can you please help me?
This is the source code:
and this is the UI for website.