Error performing query: " .mysql_error() . "

"); exit(); } ?> "); while ( $row = mysql_fetch_array($result) ) { if (($counter % 2) == 0) { echo("
"); echo(stripslashes($row["name"]) . "

"); if ($row["permaddress"]){ echo("    " . $row["permaddress"] . "
"); } if ($row["statecityzip"]){ echo("    " . $row["statecityzip"] . "
"); } if ($row["director"]){ echo("        Director: " . stripslashes($row["director"]) . "
"); } if ($row["directoraddress"]){ echo("        " . $row["directoraddress"] . "
"); } if ($row["citystatezip"]){ echo("        " . $row["citystatezip"] . "
"); } if ($row["homephone"] || $row["workphone"]){ echo("           Home: " . $row["homephone"] . "Work: " . $row["workphone"] . "
"); } echo("
"); $counter = $counter + 1; } else { echo("
"); echo(stripslashes($row["name"]) . "

"); if ($row["permaddress"]){ echo("    " . $row["permaddress"] . "
"); } if ($row["statecityzip"]){ echo("    " . $row["statecityzip"] . "
"); } if ($row["director"]){ echo("        Director: " . stripslashes($row["director"]) . "
"); } if ($row["directoraddress"]){ echo("        " . $row["directoraddress"] . "
"); } if ($row["citystatezip"]){ echo("        " . $row["citystatezip"] . "
"); } if ($row["homephone"] || $row["workphone"]){ echo("           Home: " . $row["homephone"] . "Work: " . $row["workphone"] . "
"); } echo("
"); $counter = $counter + 1; $start = $start + $labelheight; if (($counter % 12) == 0){ echo("

"); } } } echo(""); include 'dbconnection-close.php'; ?>