1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
DanielnetoDotCom 2020-08-13 14:05:48 -03:00
parent 4cbac88468
commit d47ddf1e04

View file

@ -84,6 +84,7 @@ if ($_POST['createTables'] > 0) {
// If it has a semicolon at the end, it's the end of the query
if (substr(trim($line), -1, 1) == ';') {
// Perform the query
error_log("Installation: ".$templine);
if (!$mysqli->query($templine)) {
$obj->error = ('Error performing query \'<strong>' . $templine . '\': ' . $mysqli->error . '<br /><br />');
}