Delete row with PHP - PDO on webpage
问题 I am trying to delete a row from a table using PHP (PDO) on a page listing the rows entered into the database. I've been tinkering with the delete.php code to try to make it work but to no avail. I appreciate any help. Below is my code: listview.php session_start(); include_once('../includes/connection.php'); include_once('../includes/events.php'); $event = new Event; $events =$event->fetch_all(); if(isset($_SESSION['logged_in'])) { //display index ?> <html> <head> <meta charset="utf-8">