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