I saw what jenolan was saying and changed my field name to visible, and made it a checkbox (so a yes/no option )
Now it works fine where my original way did not.
But here is the same situation with a field named "category"
For "category" I have a list- news, community, sports.
So this coding
list($newsRecords, $newsMetaData) = getRecords(array(
'tableName' => 'news',
'perPage' => '10',
'where' => 'visible = 1',
// 'where' => 'category = news',
gets this page http://bainbridgega.com/bnews/news-list.php
I uncomment the where
list($newsRecords, $newsMetaData) = getRecords(array(
'tableName' => 'news',
'perPage' => '10',
'where' => 'visible = 1',
'where' => 'category = news',
and gets this page http://bainbridgega.com/bnews/news-list-2.php
saying MySQL Error: Unknown column 'news' in 'where clause'
Thnaks