哪位高手可以帮小弟我检查一下这段程序

WBOY
Release: 2016-06-13 13:31:42
Original
697 people have browsed it

谁可以帮我检查一下这段程序?



图书馆管理系统




 
 

 
 

 
 
 
 
 
当前位置:系统设置 > 书架设置 >>>

include("conn/conn.php"); //连接数据源信息
$sql=mysql_query("select * from tb_bookcase order by id desc"); //查询图书书架信息表中的数据信息
$info=mysql_fetch_array($sql); //执行SQL语句
if($info==false){ //如果图书书架信息表中为空值,则弹出“暂无书架信息”
?>
 
 
 
 
 
暂无书架信息!

 
 
 
 

  添加书架信息

 
}else{ //否则输出书架信息
  ?>
 
 
 
 
 
 
  添加书架信息 
 
 
 
 
 
 
do{ //应用do...while循环语句输出图书书架信息
?> 
 
 
 
 

  }while($info=mysql_fetch_array($sql)); //do...while循环语句结束
}
?> 

书架名称 删除
删除




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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!