--- results.php 2001/06/07 09:08:45 1.9 +++ results.php 2001/09/18 10:26:46 1.10 @@ -30,7 +30,7 @@ if (! $type) $type="r"; -$sql="select id,town_date,title,body,pdf from news where type='$type' and visible order by priority desc,date desc"; +$sql="select id,town_date,title,body,pdf from news where type='$type' and $visible_is_true order by priority desc,date desc"; # print "$sql"; $sth = $dbh->prepare("$sql"); $sth->execute();