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

No need to submit data code from form_PHP tutorial

WBOY
Release: 2016-07-20 11:06:46
Original
1454 people have browsed it

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...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template