TEL004.php
1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
//*****************************************************************************
//*
//* プログラム名:電話連絡メモ
//* プログラムID:TEL004.php
//* 機能 :電話連絡メモ削除処理
//* 作成者 :
//*
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");
include("include/session_start.inc");
include("include/SessionChk.inc");
$strDBinc="include/dbcon.inc";
include($strDBinc);
$strSQLdel="";
$objRecdel="null";
$datArry=split("/",$strChkDat);
for ($intCnt=0; $intCnt < count($datArry)-1; $intCnt++){
$strSQLdel = "Delete FROM telmemo_tbl WHERE seq = $datArry[$intCnt] ";
$objRec = pg_exec($strSQLdel);
if($objRecdel==false){
echo("SQL実行に失敗しました(Delete)");
exit;
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="basefont.css">
<TITLE>e-グル 電話連絡メモ</TITLE>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
function load_screen(){
document.e_gru.action = "TEL001.php";
document.e_gru.method="POST";
document.e_gru.submit();
}
-->
</SCRIPT>
</HEAD>
<BODY onLoad="return load_screen();">
<form name="e_gru">
<input type="hidden" name="ichiran" value="<?php echo $ichiran ?>">
</form>
</BODY>
</HTML>