Просмотр файла fnc/book/bookst.php
<?php include"../../sys/fnc.php"; $res=$db->query("select * from `book`"); $bookst=$res->num_rows; if($_SESSION['bookst'] != $bookst){echo'1'; unset($_SESSION['bookst']); $_SESSION['bookst']=$bookst;}else{echo'0';} $res->close(); ?>