I have a strange issue in my site conception...
I try to create a select with 3 input, one for day, one for month and one for year. The year input work clean, but, if I try that for day:
for($i = 1; $i <= date('t'); $i++) {
  if ($i < 10) {
    $i = '0'. $i;
  }
  if ($i = date('d')) {
    echo '<option selected>'. $i .'</option>';
  } else {
    echo '<option>'. $i .'</option>';
  }
}
This bug totally my navigator (Firefox up to date version) and I don't understand why...
 
     
    