Re: [zrmiles] How I make a list that only shows record that I have a contain value for a certain field?
Yeah, there sure is a way...
You just need a where statement in the php where you're calling the table, for example:
<?php
require_once "/home/public_html/cmsAdmin/lib/viewer_functions.php";
list($mytableRecords, $mytableMetaData) = getRecords(array(
'tableName' => 'mytable',
'where' => " myfield = 'community' ",
));
?>
So in this example, this line is the bit I've added
'where' => " myfield = 'community' ",
This line is saying display records only where the record in field 'myfield' is equal to community.
You'd just need to put in the relevant table and field names...
Does that help?