notes app created with files backend
This commit is contained in:
parent
7755aa53f7
commit
9d716fd449
9 changed files with 85 additions and 14 deletions
8
local/notes/db.php
Normal file
8
local/notes/db.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
#create schema notes;
|
||||
$pdo = new PDO("pgsql:dbname=php", "", "", [
|
||||
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
|
||||
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
|
||||
]);
|
||||
$pdo->query("create table mail(id int)");
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue