Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/07/2010, 18:04
Dav36id
 
Fecha de Ingreso: enero-2010
Mensajes: 20
Antigüedad: 14 años, 3 meses
Puntos: 0
Configurar php para MYSQL (anuncios clasificados)

Hola es la primera vez que posteo. Me he bajado el script matterdday market para hacer una web de anuncios clasificados gratis. El problema me lo encuentro cuando en el archivo de datos de la MySql, lo pongo así:

Éste es el arcivo inc_dbcon.php

Código:
<?php	
	
	// Change these to be for your database
	$mysql_host = "PAQUITO.COM";
	$mysql_database = "PACO";
	$mysql_user = "PACO";
	$mysql_password = "PAQUITO321";
	
if(!$dbConn = mysql_connect('PAQUITO.COM', 'PACO', 'PAQUITO321'))	
	die('I could not connect to the database. Clease check the inc_dbcon file and make sure everything is correct.');
if(!mysql_select_db($dbname, $dbConn))	
	die('I could not select the database. Check the inc_dbcon file and make sure everything is correct.');
?>
Así debería funcionar?
Me arroja éste error->

I could not select the databaseA. Check the inc_dbcon file and make sure everything is correct.


Qué es lo que tengo mal? Cómo lo arreglo?

Muchas gracias!!!