コード例 #1
0
ファイル: flower_add.php プロジェクト: uwillmore/phpsite
?>

<div class="row">
  <div class="col-sm-4 col-sm-offset-4">
    <form action="SaveFlower.php" method="get">
      <input type="hidden" name="uid" value="<?php 
echo $user->getUID();
?>
">
      <input type="hidden" name="LocationID" value="<?php 
echo $Plant->getPlantLocation();
?>
">
      <input type="hidden" name="SoilID" value="">
      <input type="hidden" name="WeatherID" value="<?php 
echo $Plant->getPlantWeather();
?>
">

      <h3 class="text-center">Observer's Name: <?php 
echo $user->getName();
?>
</h3>

      <div class="form-group">
        <label for="plant-name">Plant Name: </label>
        <input class="form-control" id="plant-name" type="text" name="PlantName" value="<?php 
echo $Plant->getPlantName();
?>
">
      </div>