Exemple #1
0
        <li><label for="lot_description">Lot Description</label><br />
          <textarea rows="5" cols="60" name="lot_description" 
            id="lot_description"><?php 
echo $item->getLot_description();
?>
</textarea></li>
        <li><label for="lot_image" >Lot Image File</label><br />
          <input type="text" name="lot_image" id="lot_image" 
          value="<?php 
echo $item->getLot_image();
?>
" /></li>
        <li><label for="lot_number">Lot Number</label><br />
          <input type="text" name="lot_number" id="lot_number" 
            value="<?php 
echo $item->getLot_number();
?>
" /></li>
        <li><label for="lot_price" >Lot Price</label><br />
          <input type="text" name="lot_price" id="lot_price" 
          value="<?php 
echo $item->getLot_price();
?>
" /></li>
        <li><?php 
echo $cat_dropdown;
?>
</li>
      </ul>  
        
    <?php 
Exemple #2
0
        <li><label for="lot_description">Lot Description</label><br />
          <textarea rows="5" cols="60" name="lot_description" 
            id="lot_description"><?php 
echo htmlspecialchars($item->getLot_description());
?>
</textarea></li>
        <li><label for="lot_image" >Lot Image File</label><br />
          <input type="text" name="lot_image" id="lot_image" 
          value="<?php 
echo htmlspecialchars($item->getLot_image());
?>
" /></li>
        <li><label for="lot_number">Lot Number</label><br />
          <input type="text" name="lot_number" id="lot_number" 
            value="<?php 
echo (int) $item->getLot_number();
?>
" /></li>
        <li><label for="lot_price" >Lot Price</label><br />
          <input type="text" name="lot_price" id="lot_price" 
          value="<?php 
echo (double) $item->getLot_price();
?>
" /></li>
        <li><?php 
echo $cat_dropdown;
?>
</li>
      </ul>  
        
    <?php