#freeze
**javascript
<script type="text/javascript">
<!-- 削除確認のウィンドウ表示
function delete_confirm(cmnd){
if (confirm("登録を削除しますか?")){
return true
}else {
return false
}
}
//-->
</script>
**phpプログラム
***削除処理
if (isset($_POST['CMND']) and $_POST['CMND']=="削除"){
// 削除処理
}
***削除押釦フォーム
echo '<form method="post">';
// 削除押釦
echo '<input type="submit" name=CMND value=削除 onClick="return delete_confirm(this.form)">';
echo '</form>';