Commit f3fb3292 authored by Irving Sánchez's avatar Irving Sánchez

update documents

parent 46194cd2
...@@ -7,7 +7,7 @@ class Database2 ...@@ -7,7 +7,7 @@ class Database2
$username = "root"; $username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE"; $password = "PkJXPQFykKLmS3cWhqmZKNYE";
//$password = "PkJXPQFykKLmS3cWhqmZKNYE"; //$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD"; $dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname); $conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8"); $conn->set_charset("utf8");
if ($conn->connect_error) { if ($conn->connect_error) {
......
...@@ -26,7 +26,7 @@ if (mysql_query("DROP DATABASE PPD", $MySQLConnection)){ ...@@ -26,7 +26,7 @@ if (mysql_query("DROP DATABASE PPD", $MySQLConnection)){
// ==================== CREACIÓN // ==================== CREACIÓN
// Creamos la base de datos principal... // Creamos la base de datos principal...
if (mysql_query("CREATE DATABASE PPD", $MySQLConnection)){ if (mysql_query("CREATE DATABASE RIR", $MySQLConnection)){
echo "<br>Base de datos creada..."; echo "<br>Base de datos creada...";
}else{ }else{
// Verificamos si ya había sido creada... // Verificamos si ya había sido creada...
......
...@@ -78,7 +78,7 @@ $db['default'] = array( ...@@ -78,7 +78,7 @@ $db['default'] = array(
'hostname' => 'localhost', 'hostname' => 'localhost',
'username' => 'root', 'username' => 'root',
'password' => 'PkJXPQFykKLmS3cWhqmZKNYE', 'password' => 'PkJXPQFykKLmS3cWhqmZKNYE',
'database' => 'PPD', 'database' => 'RIR',
'dbdriver' => 'mysqli', 'dbdriver' => 'mysqli',
'dbprefix' => '', 'dbprefix' => '',
'pconnect' => FALSE, 'pconnect' => FALSE,
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
...@@ -6,7 +6,7 @@ function connectDBBDD(){ ...@@ -6,7 +6,7 @@ function connectDBBDD(){
$servername = "localhost"; $servername = "localhost";
$username = "root"; $username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE"; $password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD"; $dbname = "RIR";
$conn = new mysqli($servername, $username, $password, $dbname); $conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8"); $conn->set_charset("utf8");
if ($conn->connect_error) { if ($conn->connect_error) {
......
File mode changed from 100644 to 100755
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment