getData( $sql );$name = strip_tags( $_REQUEST['name'] );$age = intval( $_REQUEST['age'] );$sql = "INSERT INTO `user` ( `name`, `age`, `regtime`) VALUES ('" . $mysql->escape( $name ) . "' , '" . intval( $age ) . "' , NOW() ) ";$mysql->runSql($sql);if ($mysql->errno() != 0){ die("Error:" . $mysql->errmsg());}$mysql->closeDb();?>
声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com