fmquery executes and outputs results of query against family or fam_member table of the familygps mysql database
Parameters
$table "0" / "1" query source indicator :
"0" family table
"1" fam_member table
$slct Columns to select
Select all fields if blank
$famindid Query Target
Fam ID or
Ind ID to search for
$cond Additional WHERE clause conditions
$ord Overrides ID order
Example of call to this function
fmquery( "0", "mother,father, photo", 103)
queries the family table
displays the mother, father and photo values
for family identified by FAM ID: 103
*/
if (isset($_POST['famindid'])) { $famindid = sanitizeString($_POST['famindid']);