Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/include/divers/delete_tpl_fck.php
<?php
include_once('../../config.inc.php');

if (!isset($_SESSION['oreon'])) Session::Start();
$oreon=$_SESSION['oreon'];
$locID=$_GET["locID"];
$tpl_name=$_GET["tpl_name"];
$_SESSION["oreon"]->database->database->query("DELETE FROM cards_tpl WHERE tpl_name='".$tpl_name."' and tpl_location='".$locID."'");
echo "Successfull delete template ".$tpl_name;
?>
Return current item: phpMyPrepaid