Re: Error al conectarse PHP5 con MySQL

From: Date: Fri, 30 Jul 2004 18:59:10 +0000
Subject: Re: Error al conectarse PHP5 con MySQL
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-50620@lists.php.net to get a copy of this message
/* Connect to a MySQL server */ $link = mysqli_connect( 'localhost', /* The host to connect to */ 'user', /* The user to connect as */ 'password', /* The password to use */ 'world'); /* The default database to query */ if (!$link) { printf("Can't connect to MySQL Server. Errorcode: %s\n", mysqli_connect_error()); exit; } Lectura recomendada http://www.zend.com/php5/articles/php5-mysqli.php

« previous php.general.es (#50620) next »