• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no output display in dropdown list

#1
Code:
<select name="staff" id="staff" required>
<option value="">Select Staff</option>
<?php

while($row_subject = mysql_fetch_array($query_subject)) {
?>
<option value="<?php echo $row_subject['deo_code'];?>  
($this->input->post('staff') == $row_subject['deo_code'] ? ' selected' : '') ><?php echo $row_subject['deo_code']."-".$row_subject['deo_name'];?></option>
<?php } ?>
</select>
Reply


Messages In This Thread
no output display in dropdown list - by kvanaraj - 10-11-2018, 04:35 AM
RE: no output display in dropdown list - by Piotr - 10-11-2018, 08:20 AM
RE: no output display in dropdown list - by Piotr - 10-11-2018, 11:40 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.