Home  >  Article  >  Backend Development  >  No need to submit data code from form_PHP tutorial

No need to submit data code from form_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:06:461443browse

include("../inc/inc.php");
islogin();
$Db = new Db(); //此数据库类地址数据库连接类

?>




增加城市分类





 
 
 
   
   
   
 
  $id = PostGet('aid');
if( !is_numeric( $id ) )
{
exit;
}
$query = $Db->query("Select upid,cntitle,orderid,id from cn_loupan_city where upid='$id' order by orderid asc");
  if( $Db->rows( $query ) )
  {
   $row = $Db->fetch( $query ,0);
   
   foreach( $row as $array => $_v )
   {
 ?>
 
 
   
   
   
  
  
  }
}
?>
 

 {}
地区管理
 
地区名称排序位置

   保存|
   删除

返回上一页


< ;/body>

Original reprints on this site are marked www.111cn.cn


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445019.htmlTechArticle?php include(../inc/inc.php); islogin(); $Db = new Db( ); //This database class address database connection class? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/T...
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