<?php
# FileName="Connection_php_mys ql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_conexionabm = "localhost";
$database_conexionabm = "inventario";
$username_conexionabm = "root";
$password_conexionabm = "";

$hostname_conexioninv = "localhost";
$database_conexioninv = "inventario";
$username_conexioninv = "root";
$password_conexioninv = "";

$hostname = "localhost";
$database = "inventario";
$username = "root";
$password = "";

$conexionabm = mysql_pconnect($hostname_conexionabm, $username_conexionabm, $password_conexionabm) or trigger_error(mysql_error(),E_USER_ERROR); 
$conexioninv = mysql_pconnect($hostname_conexionabm, $username_conexionabm, $password_conexionabm) or trigger_error(mysql_error(),E_USER_ERROR); 

$conex = mysql_pconnect($hostname_conexionabm, $username_conexionabm, $password_conexionabm) or trigger_error(mysql_error(),E_USER_ERROR); 
$sql   = mysql_pconnect($hostname_conexionabm, $username_conexionabm, $password_conexionabm) or trigger_error(mysql_error(),E_USER_ERROR); 
?>