Hi
thanks for all your replies so far , it is greatly appreciated
now they are both constantly checked,even though one of the columns has a "0" in it
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'XXXXXXXXXX');
define('DB_PASSWORD', 'XXX');
define('DB_DATABASE'...