<input type="text" name="locationNotes" value="">
  
  	    <p><label>Latitude/Longitude</label></p>
	    <input type="text" id="lat" name="lat" value="">
		<input type="text" id="lon" name="lon" value="">
		  
		<p><label>Temperature (F)</label></p>
		<input type="number" name="tempF" value="<?php 
echo $weather->getTemp();
?>
" >
		  	  
		<p><label>Soil Type</label></p>
		<div id="radioList">
		 <?php 
$list = new RadioList("soil", $ObservationMgr->getSoilTypes());
echo $list->MakeMenuWithDBRows("", "id", "soil");
?>
	  	
		</div>
		  
		  <p><label>Notes</label></p>
		  <input type="text" name="notes" value="">
		  
		  <p><label>Submitter: <?php 
echo $username;
?>
</label></p>

		  
		  <p><input type="submit" value="Save"  class='btn'></p>
示例#2
0
?>
"><br  />
  <p><label>Notes</label></p>
  	<input type="text" name="notes" value="<?php 
echo $item->getNotes();
?>
"><br  />
  <p><label>Observation Date</label></p>
  	<input type="text" name="observationDate" value="<?php 
echo $item->getObservationDate();
?>
"><br  />

	<div id="radioList">
	    <?php 
$list = new RadioList("soil", $ObservationMgr->getSoilTypes());
echo $list->MakeDBRowMenuWithDefault("Soil Type?", "id", "soil", $item->getSoilTypeId());
?>
	
	</div>
	    
	<p><label>Degrees F</label></p>
  	<input type="text" name="tempF" value="<?php 
echo $item->getTempF();
?>
"><br  />
    <p><label>Latitude</label></p>
  	<input type="text" name="lat" value="<?php 
echo $item->getLat();
?>
"><br  />