Closed egraham closed 12 years ago
here is the page that displays:
http://networkednaturalist.org/budburstmobile/list_show.php
here is what the php, "list_show.php" does:
<?php
$Category = $_POST['category']; $Lat = $_POST['lat']; $Lng = $_POST['lng']; @$string = file_get_contents("http://networkednaturalist.org/python_scripts/cens-dylan/list.py?lat=" . $Lat . "&lon=" . $Lng . "&type=" . $Category); $json_a=json_decode($string,true); $json_county = $json_a["county"]; $json_state = $json_a["state"]; $json_array = $json_a["results"]; if ($Category == 1) { $cat_name = "Local species from Project BudBurst"; } if ($Category == 2) { $cat_name = "Invasive Species (Federal list)"; } if ($Category == 3) { $cat_name = "Poisonous Species"; } if ($Category == 4) { $cat_name = "Threatened or Endangered Species"; } if ($Category == 5) { $cat_name = "Native Species"; }
?>
No longer using this
here is the page that displays:
http://networkednaturalist.org/budburstmobile/list_show.php
here is what the php, "list_show.php" does:
<?php
?>