I have in my php
$sel = "
one
two
thre
four
";
let say I have an inline URL = site.php?sel=one
if I didn't saved those options in a variable, I can do it this way to make one of the option be SELECTED where value is equal to $_GET[sel]
> one
> two
> three
> four
but the problem is, I need to save those options in a variable because I have a lot of options and I need to call that variable many times.
Is there a way to make that option be selected where value = $_GET[sel] ?