if ($user[paid] == 1) { $a = 'checked'; }
if ($user[paid] == 2) { $b = 'checked'; }
if ($user[paid] == 3) { $c = 'checked'; }
echo("
<input class=radio type=radio name=paid value=1 $a> text1<br>
<input class=radio type=radio name=paid value=2 $b> text2<br>
<input class=radio type=radio name=paid value=3 $c> text3");
Its OK for this small one, but I have som large lists, (time/date) and thats a lot of punching...😉
Hope anyone have a simpler way to do this...