Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <?php echo form_open(); ?>
  2. <select>
  3. <?php foreach($status_list as $status): ?>
  4. <option value="<?php echo $status->id; ?>"><?php echo $status->name; ?></option>
  5. <?php endforeach; ?>
  6. </select>
  7. <!-- Show this only if status type is, let's say "E" -->
  8. <input type="text" name="E_happened">
  9. <!-- Show this only if status type is, let's say "S" -->
  10. <input type="text" name="S_happened">
  11. <?php echo form_close(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement