I am building a login sequence for a website that I am designing for a school project with MySQL and PHP7 (which I am relatively new to). I need some help understanding what this error means and how I can resolve the issue:
Fatal error: Constant expression contains invalid operations in C:\Abyss Web Server\htdocs\login_tools.php on line 19
Here is the line of code for a function which ensures a login has succeeded and retrieves the associated user details:
function validate($dbc, $email=",$pwd=")