- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
$opl1_type_arr = array("no","yes");
for($i=0;$i<2;$i++){
$str_pr = $opl1_type_arr[$i];
echo "<option value=\"$str_pr\"";
if($RowOP['pay_peredano']==$str_pr) echo " selected";
switch ($str_pr) {
case 'yes':
echo ">Да</option>";
break;
case 'no':
echo ">Нет</option>";
break;
}
}