scroll down list -visible, but not possible to choose

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 Got so excellent and fast help last time so trying again here

 I have the below function with array for satus of issues where I need to have 'Resolved/Closed' visible but not available for choice
 This as closing is a separate function to ensure correct resolution code is selected 

Already tried removing 'Resolved', and got everything working only to notice when testing that when viewing issues the Resolved
 ones showed up as 'Support Working' even though closed in the system


 function print_statuses($selected) {
 $statuses = array('Resolved','Support Working','Waiting on Customer','New','Read Update');
 foreach($statuses as $status) {
 echo "<option value=\"$status\"";
 if($status == $selected) echo ' selected';
 echo ">$status</option>";
 }
 }

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux