ADR094.php 744 Bytes
<?php 
//*****************************************************************************
//* 
//* プログラム名:取引先情報
//* プログラムID:ADR094.php
//* 機能				:担当者削除
//* 作成者			:
//* 
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");

//***************************
//* インクルードファイル
//***************************
include("./include/session_start.inc");
include("./include/SessionChk.inc");

//**** DB接続 ****//
include("./include/dbcon.inc");

$strSQL = "DELETE FROM tantou_tbl WHERE seq = $ToriSeq AND tori_syain_cd = '$TantoSeq'";
$rtn = pg_exec($pg_con, $strSQL);
if ($rtn == false){
		echo "データの登録に失敗しました。";
		exit;
}

?>