view deleteKeyword.php @ 149:5b192e94f49d

fix: 予約済み定数を使ってしまったミスを修正。エラーレベルに警告を追加
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sat, 27 Mar 2010 16:04:54 +0900
parents f5a9f0eb4858
children
line wrap: on
line source

<?php
include_once('config.php');
include_once( INSTALL_PATH . '/DBRecord.class.php' );
include_once( INSTALL_PATH . '/Reservation.class.php' );
include_once( INSTALL_PATH . '/reclib.php' );
include_once( INSTALL_PATH . '/Keyword.class.php' );

if( isset($_GET['keyword_id'])) {
	try {
		$rec = new Keyword( "id", $_GET['keyword_id'] );
		$rec->delete();
	}
	catch( Exception $e ) {
		exit( "Error:" . $e->getMessage() );
	}
}
else exit( "Error:若若ID絎障" );
?>