(For you nosy people): I'm designing a Utopian English assignment for school, I asked my teacher if I could create a website instead of a brochure.
Anyways, I'm trying to get a pause in between a "while" loop. I've tried sleep() and usleep(), they just give me an error 500. I am trying to change the title of the webpage every five seconds between variable $a and variable $b. I've tried the following:
echo '<title>'.while (true) {.$a.sleep(5).$b.sleep(5)}.'</title>';
and
while (true) {
echo '<title>'.$a.'</title>';
sleep(5)
echo '<title>'.$b.'</title>';
}