File "delete.php"
Full Path: /home/analogde/www/Design/fileman/Fusion/CRUD01/delete.php
File size: 284 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
include('database connection.php');
include('function.php');
if(isset($_POST["course_id"]))
{
$statement = $connection->prepare(
"DELETE FROM course WHERE id = :id"
);
$result = $statement->execute(
array(':id' => $_POST["course_id"])
);
}
?>