Hi sir. Thank you for this awesome video. In the MySQL, how can I saw the changes of the old password? I mean the new password in the mysql after i click the changed button.
Is it possible to make a forgot password system with the firstname and a new password because i tried to make that but it didn't work. Can you help me?
im haveing probleme on accepiting my password could you give me some help its saying incorret password put i link my file to dbase.php why no work. please help?
Pls tell us how to check password in d db Like you login as "coding" and pwd is 1234 But to view it in d db it will show numbers Pls tell us how to view the password in d db Thanks
gives me this error could you help me, Fatal error: Uncaught TypeError: mysqli_num_rows (): Argument # 1 ($ result) must be of type mysqli_result, bool given in C: \ xampp \ htdocs \ Login-System-PHP \ login.php: 32 Stack trace: # 0 C : \ xampp \ htdocs \ Login-System-PHP \ login.php (32): mysqli_num_rows (false) # 1 {main} thrown in C: \ xampp \ htdocs \ Login-System-PHP \ login.php on line 32
it says Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\profile-system\db_conn.php:9 Stack trace: #0 C:\xampp\htdocs\profile-system\db_conn.php(9): mysqli_connect('localhost', 'root', Object(SensitiveParameterValue), 'test_db') #1 C:\xampp\htdocs\profile-system\login.php(3): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\profile-system\db_conn.php on line 9
Thanks for your comment! The error you're seeing indicates that there's an issue with the database connection. Specifically, it says 'Access denied for user 'root'@'localhost' (using password: NO),' which means that your script is trying to connect to the MySQL database without a password. Here are a few things to check: Check Database Credentials: In your db_conn.php file, make sure you're providing the correct credentials. The mysqli_connect() function should look something like this: $conn = mysqli_connect('localhost', 'root', 'your_password', 'test_db'); If your MySQL server is set up without a password for the root user, you can leave the password field empty as shown: $conn = mysqli_connect('localhost', 'root', '', 'test_db'); MySQL User Permissions: Ensure that the MySQL user 'root' has the necessary permissions to access the test_db database. You can check this using phpMyAdmin or the MySQL command line. XAMPP MySQL Configuration: If you’ve recently changed any configurations in XAMPP or MySQL, make sure everything is set up correctly. Sometimes restarting the XAMPP services can resolve connection issues.