/* 对用户传入的变量进行转义操作。*/ if (!get_magic_quotes_gpc()){ if (!empty($_GET)){$_GET = addslashes_deep($_GET);} if (!empty($_POST)){$_POST = addslashes_deep($_POST);} $_COOKIE = addslashes_deep($
首先,在bookstore数据库中创建一张books数据表 CREATE TABLE books( id INT NOT NULL AUTO_INCREMENT, bookname VARCHAR(80) NOT NULL DEFAULT ', publisher VARCHAR(60) NOT NULL DEFAULT ', author VARCHAR(20) NOT