![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/06/2006, 15:19
|
| | Fecha de Ingreso: octubre-2004 Ubicación: Santiago de Chile
Mensajes: 504
Antigüedad: 20 años, 4 meses Puntos: 0 | |
Esta es conex.php:
<?php
$host = "localhost";
$account = "desas";
$password = "desas";
$dbname = "desas";
$mysqli = new mysqli($host,$account,$password,$dbname);
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit(1);
}
if ($result = $mysqli->query( "SELECT DATABASE()")) {
$row = $result->fetch_row();
//printf("Default database is %s.<br>", $row[0]);
$result->free();
}
?>
__________________ Dios es mas grande que tu problema :-) |