mirror of https://github.com/pikami/palm-paste.git
Merge branch 'master' of https://github.com/pikami/palm-paste
This commit is contained in:
commit
5d1d051760
|
@ -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