Location: PHPKode > scripts > Blue Smiley Organizer > delete-to-do.php
<?php

require 'class.base.php';
$base_instance=new base();

$userid=$base_instance->get_userid();

$item=isset($_REQUEST['item']) ? (int)$_REQUEST['item'] : exit;

if ($item) {

$base_instance->query("DELETE FROM organizer_to_do WHERE ID='$item' AND user='$userid'");

echo 'item',$item,'|';

}

?>
Return current item: Blue Smiley Organizer