当前位置:Gxlcms > PHP教程 > 一个很傻的无限分类_PHP教程

一个很傻的无限分类_PHP教程

时间:2021-07-01 10:21:17 帮助过:10人阅读

/**
* 无限分类
* 2011/8/23
* kcj
* */
include "../conn/conn.php";
$flpid=$_POST['flpid'];
$fltitle=$_POST['title'];
$fldes=$_POST['des'];
if(isset($_POST['action'])!=''&&$_POST['action']="add"){
$sql="insert into fenlei (flpid,fltitle,fldes) value('".$flpid."','".$fltitle."','".$fldes."')";
mysql_query($sql);

}

?>






无标题文档









后台管理->添加分类




/**
* 无限分类
* 2011/8/23
* kcj
* */
include "../conn/conn.php";
$flpid=$_POST['flpid'];
$fltitle=$_POST['title'];
$fldes=$_POST['des'];
if(isset($_POST['action'])!=''&&$_POST['action']="add"){
$sql="insert into fenlei (flpid,fltitle,fldes) value('".$flpid."','".$fltitle."','".$fldes."')";
mysql_query($sql);

}

?>




无标题文档









后台管理->添加分类





摘自 chaojie2009的专栏

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/478364.htmlTechArticle? /** * 无限分类 * 2011/8/23 * kcj * */ include ../conn/conn.php; $flpid=$_POST[flpid]; $fltitle=$_POST[title]; $fldes=$_POST[des]; if(isset($_POST[action])!=$_POST[action]=add...

人气教程排行