3
This commit is contained in:
5
pass_hash
Normal file
5
pass_hash
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
$serveur = "localhost";
|
||||
$dbname = "my_sql_projet";
|
||||
$user = "root";
|
||||
$pass = "";
|
||||
16
sql tables
16
sql tables
@@ -1,4 +1,12 @@
|
||||
CREATE TABLE article (
|
||||
id int
|
||||
id int [contraintes],
|
||||
)
|
||||
CREATE TABLE articles (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
titre VARCHAR(255),
|
||||
contenu TEXT,
|
||||
date_creation DATETIME
|
||||
);
|
||||
|
||||
CREATE TABLE utilisateur (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
login VARCHAR(50) UNIQUE,
|
||||
password VARCHAR(255)
|
||||
);
|
||||
Reference in New Issue
Block a user