I have a php loop where I am trying to echo a HTML image source inside the select option tag, like this:
foreach($recs as $i){
    if($i->isscripted == 1){
      $is = "<img src='greencheck.gif'>"; 
    }else{
      $is = "<img src='redbang.gif'>"; 
    }
   echo "<option value=".$i->id.">".$is."  ".$i->fullname."</option>";
}
The image is not displaying in the select list. I tested the image tag outside of the loop and it displays fine.
echo "<img src='greencheck.gif'>";