$conexion = odbc_connect("$stringConexion","$XPUSER","$XPPASS",SQL_CUR_USE_ODBC);if (odbc_error()) { echo odbc_errormsg($conexion); }