$v) {
$$k = $v;
}
}
$csv = '';
$message = '';
$csv .= escape_csv(@$name) . ',';
$csv .= escape_csv(@$location) . ',';
$csv .= escape_csv(@$ages) . ',';
$csv .= escape_csv(@$current) . ',';
$csv .= escape_csv(@$improve) . ',';
$csv .= escape_csv(@$bathroom) . ',';
$csv .= escape_csv(@$parking) . ',';
$csv .= escape_csv(@$busparking) . ',';
$csv .= escape_csv(@$meeting) . ',';
$csv .= escape_csv(@$staff) . ',';
$csv .= escape_csv(@$intprog) . ',';
$csv .= escape_csv(@$intsign) . ',';
$csv .= escape_csv(@$picnic) . ',';
$csv .= escape_csv(@$fee) . ',';
$csv .= escape_csv(@$water) . ',';
$csv .= escape_csv(@$comments) . ',';
$csv .= escape_csv(@$pubpriv) . ',';
$csv .= escape_csv(@$contact) . ',';
$csv .= escape_csv(@$phone) . ',';
$csv .= escape_csv(@$email) . ',';
$csv .= escape_csv(@$url) . "\n";
if (write_csv($csv)) {
$message = '
Thank you for completing the survey.
';
} else {
$message = 'An error occurred while processing the survey. Please refresh the page to try again.
';
}
}
// format text as a CSV entry
function escape_csv($text) {
if (!$text) return '';
$out = str_replace('"','""',$text);
if (
strpos($out,',') !== false ||
strpos($out,"\n") !== false ||
strpos($out,'"') !== false
)
{ return '"' . $out . '"'; } else { return $out; }
}
// write the results to the next line of the CSV file
function write_csv($csv) {
global $filename;
if (!is_writable($filename)) return false;
if (!$f = @fopen($filename,'a')) return false;
if (!@fwrite($f,$csv)) return false;
fclose($f);
return true;
}
?>
Input needed on Environmental Education facilities for 2007 VA Outdoors Plan
We need your input on environmental education facilities in Virginia! Currently, the Virginia Outdoors Plan (VOP) is being revised, as it is every five years. The VOP is the state’s official conservation, outdoor recreation and open space plan which is used to meet Virginia’s outdoor recreation and open space needs and also to conserve the environment. The VOP is a tool to be used by many audiences across the state including Planning Districts, land trusts, Parks and Recreation and other planners, citizen community groups and school officials. The VOP assists these groups in their local planning efforts and helps to target areas and resources that are important or threatened as conservation strategies are developed.
As part of the 2007 VOP, we will include a listing of environmental education facilities across the Commonwealth. Such facilities provide opportunities to communities for place-based and hands-on education for all ages. We need to know where sites currently exist and what may be potential sites. Further we seek to find what offerings these facilities currently have or what they may need. Please assist us in this inventory. We thank you for your time and input by completing the following survey.