diff --git a/committee.php b/committee.php index 39a1a37..a076e90 100644 --- a/committee.php +++ b/committee.php @@ -23,8 +23,10 @@ ?> "; + $q=mysql_query("SELECT * FROM committees ORDER BY ord,name"); while($r=mysql_fetch_object($q)) { $q2=mysql_query("SELECT ". @@ -46,7 +48,7 @@ continue; echo ""; - echo "

$r->name

"; + echo "

$r->name

"; echo "\n"; echo mysql_error(); @@ -61,7 +63,7 @@ if($r2->emailprivate && $r2->displayemail=='Y') { list($b,$a)=split("@",$r2->emailprivate); - $output=str_replace("emailprivate","",$output); + $output=str_replace("emailprivate","",$output); } else $output=str_replace("emailprivate","",$output); @@ -69,7 +71,7 @@ if($r2->email && $r2->displayemail=='Y') { list($b,$a)=split("@",$r2->email); - $output=str_replace("email","",$output); + $output=str_replace("email","",$output); } else $output=str_replace("email","",$output);