$adminpass)error("The administrator password is wrong!"); else{ $data=dbmopen("class","w" ); dbmdelete($dat"/> $adminpass)error("The administrator password is wrong!"); else{ $data=dbmopen("class","w" ); dbmdelete($dat">
Home > Article > Backend Development > How to write classmate registration? PHP+DBM classmate registration program 2
3. Delete member del.php3
require("common.php3");
$id=chop($id);
if(!isset($id))error("Please enter the user to be deleted ID! ");
elseif($pwd<>$adminpass)error("Wrong administrator password!");
else{
$data=dbmopen("class","w");
dbmdelete($data ,$id);
dbmclose($data);
$data=dbmopen("password","w");
dbmdelete($data,$id);
dbmclose($data);
header("location: index.php3");
}
?>
4. Common file common.php3
$adminpass="test";
function error($msg){
?>
< ;head>
< table border="0" width="100%" bgcolor="#000000" cellspacing="0" cellpadding="0"> | |||
|
深圳中学2000届高中(12)班同学录 |
以上就介绍了同学录怎么写 PHP+DBM的同学录程序2,包括了同学录怎么写方面的内容,希望对PHP教程有兴趣的朋友有所帮助。