This commit is contained in:
root 2019-05-27 17:11:07 -05:00
commit e486accc9f
2 changed files with 785 additions and 716 deletions

View File

@ -14,9 +14,9 @@ function Conectarse(){
} }
if (!($link=mysqli_connect('p:'.$servidor,$usuario,$password,$db))) if (!($link=mysqli_connect($servidor,$usuario,$password,$db)))
{ {
echo " Error conectando a la base de datos. "; echo " Error conectando a la base de datos. ($servidor) ";
exit(); exit();
} }
/* if (!mysqli_select_db($db,$link)) /* if (!mysqli_select_db($db,$link))
@ -50,7 +50,7 @@ function Conectarse_recursivo(){
} }
} }
if (!($link=mysqli_connect('p:'.$servidor,$usuario,$password,$db))) if (!($link=mysqli_connect($servidor,$usuario,$password,$db)))
{ {
echo "Error conectando a la base de datos. "; echo "Error conectando a la base de datos. ";
exit(); exit();

File diff suppressed because it is too large Load Diff