123456789101112131415 |
- <?php
- $db_password = "QnJ3Uq=i7=";
- $db_username = "alejandro.alvarez5";
- $db_hostname = "localhost";
- $db_database = "Dato_pr";
- try
- {
- $dbconnection = mysqli_connect($db_hostname, $db_username, $db_password,$db_database) or $error=1;
- }
- catch(Exception $ex)
- {
- die("No pude conectar a la base de datos: " . $ex->getMessage());
- }
- mysqli_set_charset($dbconnection,"utf8");
- ?>
|