Hi
My question is that while following some tutorials online there seems to be multiple ways to set the radio and select inputs to be checked="1" and selected="1"
Some people seem to type out the whole part like this..
echo '<select name="position" id="position">';
echo '<option value="$option"
if($option > $count) {
echo ' selected';
}
echo '></option>';
echo '</select>';
Notice the part above where it says echo selected instead of echo selected="1". My question is which is the more correct way of using?
Ricky