Eléphant du PHP |
87 Messages
18 oct. 2010, 19:25
la je l'ai mis dans le meme dossier (j'ai crée un fichier errror.php) que mon index.html et ca marche
si je rate un nom de bdd il met ca :
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in C:\wamp\www\php.php on line 25
je trouve pas ca plus parlant mais au moins c'est d'avantaége uniformisé que "plantage".
et ca si je sabote le $host :
page1
Warning: mysqli_connect() [function.mysqli-connect]: php_network_getaddresses: getaddrinfo failed: H�te inconnu. in C:\wamp\www\php.php on line 14
Warning: mysqli_connect() [function.mysqli-connect]: [2002] php_network_getaddresses: getaddrinfo failed: H�te inconnu. (trying to connect via tcp://loclhost:3306) in C:\wamp\www\php.php on line 14
Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2002): php_network_getaddresses: getaddrinfo failed: H�te inconnu. in C:\wamp\www\php.php on line 14
Warning: mysqli_select_db() expects parameter 1 to be mysqli, boolean given in C:\wamp\www\php.php on line 16
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in C:\wamp\www\php.php on line 21
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in C:\wamp\www\php.php on line 25