Online-Voting-System-using-php-and-mysql
Online-Voting-System-using-php-and-mysql copied to clipboard
php and mysql project
connection.php at line 3 and 4
Hello. I'm having an issue concerning the administrator login page. I changed the initial administrator information on the poll.sql file. And now when I input the email and password information,...
Failed to connect to MySQL: Access denied for user ''@'localhost' to database 'poll'Wrong Username or Password
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\xampp\htdocs\Online-Voting-System-using-php-and-mysql-master(github)(ex)\Online-Voting-System-using-php-and-mysql-master\online_voting\admin\checklogin.php on line 36
in which version of xampp does this code works correctly
i have error after changing mysql to mysqli_connect() also
Fatal error: Uncaught Error: Call to undefined function mysql_error() in C:\xampp\htdocs\online_voting\connection.php:4 Stack trace: #0 C:\xampp\htdocs\online_voting\admin\checklogin.php(13): require() #1 {main} thrown in C:\xampp\htdocs\online_voting\connection.php on line 4 facing deprecated SQL codes
Fatal error: Call to a member function escape_string() on null in C:\xampp\htdocs\Online\Online-Voting-System-using-php-and-mysql-master\online_voting\admin\checklogin.php on line 24