You are on page 1of 1

<?

php
foreach($class_listing as $key=>$class_value)
{
$sel_class="";
if($value['id'] == $class_value['id']){
$sel_class = 'selected="selected"';
}
echo '<option '.$sel_class.' value='.$class_value['id'].'>'.$class_value['class_
name'].'</option>';

}
?>
echo '<input typ
e="text" name="cid" id="cid'.$value['id'].'" value="'.$value['class_id'].'">';
echo '<i
nput type="text" name="feeid" id="feeid'.$value['id'].'" value="'.$value['fee_ty
pe_id'].'">';