<?php //MYSQL'den bu bilgiyi çekip $DEGER değişkenine atayınız if ($DEGER==0) { echo "Site aktif"; } else if ($DEGER==1) { echo "Site bakımda"; } ?>