<?php

include $_SERVER['DOCUMENT_ROOT'].'/hotel1/config.php';
$manejador="mysql";
$servidor=$dbhost;
$usuario=$dbuser;
$pass=$dbpass;
$base=$dbname ;
$cadena="$manejador:host=$servidor;dbname=$base";
$cnx = new PDO($cadena,$usuario,$pass);
?>