[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
sarpras1
/
technical Staff
/
[
Home
]
File: count_damage.php
<?php $query_yes1 = mysql_query("select * from stdevice where dev_status = 'damage'")or die(mysql_error()); $count_no = mysql_num_rows($query_yes1); ?> <?php $query_no = mysql_query("select * from stdevice where dev_status = 'none' ")or die(mysql_error()); $count_yes = mysql_num_rows($query_no); ?> <?php $not_read1 = $count_no - $count_yes; ?>