Skip to content

Commit

Permalink
zone_table
Browse files Browse the repository at this point in the history
zone_table where purge is 0
#24
  • Loading branch information
pihome-shc committed Jul 15, 2020
1 parent 5ed1ae4 commit ac06b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@
<th class="col-xs-1"></th>
</tr>';

$query = "SELECT * FROM zone_type;";
$query = "SELECT * FROM zone_type where `purge`=0;";
$results = $conn->query($query);
while ($row = mysqli_fetch_assoc($results)) {
$query = "SELECT * FROM `zone` WHERE `type` LIKE '".$row['type']."' LIMIT 1;";
Expand Down

0 comments on commit ac06b4b

Please sign in to comment.