<?php require_once("db.php"); $id = intval($_POST['area']); $conn->deleteArea($id); ?> <!DOCTYPE html> <html> <head> <title>Area deleted</title> </head> <body> <h1>Area has been deleted</h1> </body> </html>
info at phpclasses dot org