I'm trying to create a webpage the looks like a health monitor and I need to create a random number generator that will act as the heart monitor. Here is what I have:
return rand(5, 15);
$i = 0;
while ($i <= 10)
The problem is that number are printed one after another and I need them to just show up in the same place but be different. In other words if I have a section that says "Heart Best Per Seconds: ", I will need a new number to show up there every few seconds in place of the other.
Does anyone know how to do this? I've seen things similar to this so I'm pretty sure that it's doable.