Home >Backend Development >PHP Tutorial >A silly infinite classification_PHP tutorial

A silly infinite classification_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 17:49:03908browse

/**
* Unlimited categories
* 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); 
     

 
?> 
 
 
 
 
     
         
        无标题文档 
         
         
         
         
         
         
     
     
       

 
              后台管理->添加分类 
             
           
 
               
     
                       
  •  
                            上级栏目 
                               
                       
  •  
                       
  •  
                            栏目名称* 
                             
                       
  •  
                       
  •  
                            栏目描述 
                             
                       
  •  
                         
     
                       
  •  
                                
                             
                               
                             
                       
  •  
                   
  
           
 
                        
       
 
     
 
/**
* Unlimited categories
* 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? /*** Unlimited categories * 2011/8/23 * kcj **/ include ../conn/conn.php; $flpid=$_POST[flpid]; $fltitle=$_POST[title]; $fldes=$_POST[des]; if(isset($_POST[action])!=$_POST[action]=add...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn