Directory of People


\n"; if($j == 0) { echo "\n"; if ($j == 0) { echo "\n\n\n"; }//end for echo "
"; } else { echo ""; } if (pg_result($result_set, $j, "url") != "") { echo ""; } echo pg_result($result_set, $j, "nameprefix"); echo " ".pg_result($result_set, $j, "firstname"); echo " ".pg_result($result_set, $j, "lastname"); if (pg_result($result_set, $j, "url") != "") { echo ""; } echo ""; } else { echo ""; } if (pg_result($result_set, $j, "info") != "") { echo pg_result($result_set, $j, "info"); } echo "
".pg_result($result_set, $j, "email")."

\n"; } //end printsection function printallsections() { global $conn; $sql = "SELECT distinct statusid, name from people_status;"; $result_set = pg_Exec ($conn, $sql); $rows = pg_NumRows($result_set); for($j=0; $j < $rows; $j++) { $name = pg_result($result_set, $j, "name"); if($name != "") echo "

$name

\n"; printsection(pg_result($result_set, $j, "statusid")); } //end for } //end printallsections; printallsections(); ?>

Contact List