mirror of https://github.com/pikami/palm-paste.git
Removed unnecessary lines
This commit is contained in:
parent
8dfcd52e7e
commit
b512c2c943
|
@ -6,13 +6,4 @@ $SQL_User = "paste";
|
||||||
$SQL_Password = "ckQgRJRhib74XMgVpzmn38uj1MrCcNnK7L9bc7zu";
|
$SQL_Password = "ckQgRJRhib74XMgVpzmn38uj1MrCcNnK7L9bc7zu";
|
||||||
//========CONNECTION========//
|
//========CONNECTION========//
|
||||||
$conn = new PDO('mysql:host='.$SQL_Host.';dbname='.$SQL_Database.';charset=utf8mb4', $SQL_User, $SQL_Password);
|
$conn = new PDO('mysql:host='.$SQL_Host.';dbname='.$SQL_Database.';charset=utf8mb4', $SQL_User, $SQL_Password);
|
||||||
/*
|
|
||||||
//==========INSERT==========//
|
|
||||||
$stmt = $dbh->prepare("INSERT INTO Customers (CustomerName,Address,City)
|
|
||||||
VALUES (:nam, :add, :cit)");
|
|
||||||
$stmt->bindParam(':nam', $txtNam);
|
|
||||||
$stmt->bindParam(':add', $txtAdd);
|
|
||||||
$stmt->bindParam(':cit', $txtCit);
|
|
||||||
$stmt->execute();
|
|
||||||
*/
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue