Warning: mysqli_connect(): (HY000/1045): Access denied for user 'junko123_user'@'localhost' (using password: YES) in /home2/junko1234/public_html/php/database.php on line 19
Warning: mysqli_set_charset() expects parameter 1 to be mysqli, bool given in /home2/junko1234/public_html/php/database.php on line 21
Using old MySQL functions like mysql_query() and mysql_fetch_array() is a mistake, as they have been deprecated in newer versions of PHP.
Switching to the mysqli or PDO extensions is essential to ensure compatibility with current PHP versions and improve security and performance.