$x = 1;

do {
  echo "The number is: $x <br>";
  $x++;
   sleep(1);
} while ($x <= 10);