hi can any one help me i search for a solution for about one weak and i can't find it :
<?php
$dbhandle = mysqli_connect('localhost', 'root', 'toor', 'helmi');
mysqli_query($dbhandle,"SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'");
date_default_timezone_set('Africa/Tunis');
?>
the problem is :
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\db_connect.php on line 3
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in C:\xampp\htdocs\db_connect.php on line 5
Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, boolean given in C:\xampp\htdocs\authentication.php on line 9
pealse help me !