HI,
I have this code:
[php]<?php
ini_set(‘display_errors’,1);
error_reporting(E_ALL);
require_once("…/.common/.init.php");
$style = ‘…/.common/default.css’;
try {
$db = new PDO(DBASE);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
echo $e->getMessage();
die();
}
?>
Test
<?
}
?>
|
I’m trying to check which delete button is clicked. But whatever button I click only the $id of the first button is shown. What am I doing wrong ?