I have been trying to solve same problem for a couple of hours, searched for solution on the internet and I'm pretty sure I made some kind of mistake connecting to database, because whenever I try to send registration form I get this error:
Access denied for user 'root'@'localhost' (using password: NO)
I have included the file which is in the same folder as file that I'm using:
include_once("db_memberShip.php");
though,even if I try to use the "mysqli_connect("","","",""); without including the connection file I still get the same error.Any ideas?