Created
November 16, 2015 15:17
-
-
Save jjeffers/0c54fab8dab049f12d59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($query->result() as $row) | |
{ | |
//$gri = $row->id; | |
//$willthisfixit=0; | |
//if($gri==292){ | |
//echo '<option value="'.$row->id.'" selected="selected">'.$row->name.'</option>'; | |
//}else{ | |
//if($willthisfixit==0){ | |
//echo '<option value="">'.lang_key('select_one').'</option>'; | |
//} | |
echo '<option value="'.$row->id.'">'.$row->name.'</option>'; | |
//} | |
//$willthisfixit++; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment