Hi...
the following line doesn't give its intended effect
$selected[ $out['month'] ] = 'SELECTED';
but this line will:
$selected[ $out['month'] + 0 ] = 'SELECTED';
How do I make sure $out['month'] is evaluated correctly without added a
0 to guide php?
thanks
the following line doesn't give its intended effect
$selected[ $out['month'] ] = 'SELECTED';
but this line will:
$selected[ $out['month'] + 0 ] = 'SELECTED';
How do I make sure $out['month'] is evaluated correctly without added a
0 to guide php?
thanks
Comment