There is a drop-down list:
$form.="<TD >".(($row['ore']==1)?("Медноцинковая"):("Медная"))."</TD>"; How to make a condition so that
$row['ore']==1, then it falls out ("Mednozinkova"),$row['ore']==2then falls out ("Copper"),$row['ore']==3, then it falls out ("Gold-bearing")
$cases = ['',"Медноцинковая","Медная",.. ]; $form.="".$cases[$row['ore']]."";- splash58