table share

This commit is contained in:
Claudio 2024-12-03 11:46:42 +01:00
parent ae2975023d
commit cfd38f3a52

View File

@ -66,7 +66,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$stmtCheckUser->close(); $stmtCheckUser->close();
// Inserisce i dati nella tabella home_Sharing // Inserisce i dati nella tabella home_Sharing
$query = "INSERT INTO home_Sharing (idhome, iduser, shared_email, idshareduser, role_id, sharing_type, shared_sections, expiration_date, status) $query = "INSERT INTO home_sharing (idhome, iduser, shared_email, idshareduser, role_id, sharing_type, shared_sections, expiration_date, status)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)";
$stmt = $conn->prepare($query); $stmt = $conn->prepare($query);