Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/08/2009, 12:28
Avatar de JuJoGuAl
JuJoGuAl
 
Fecha de Ingreso: julio-2009
Ubicación: Venezuela
Mensajes: 754
Antigüedad: 15 años, 7 meses
Puntos: 19
Respuesta: Crear base de datos

Prueba con asi:


Código PHP:
$dbhost="localhost"//Host/IP from the MySQL Database
$dbuser="root";      //Username to the MySQL Database
$dbpass="";          //Passwort to the MySQL Database

$sql=MYSQL_CONNECT($dbhost,$dbuser,$dbpass) or die ("ERROR");
$db=mysql_query("CREATE DATABASE base2"); 
deberia funcionar asi