Yeah ok, just don't continue off topic in my thread please... And just for the record these are just 17 out of the 195
Back to my original post subject:
I did put the sleep(30) there but it "pauses" the output of the page as well on each turn in the foreach statement..
$users = ("bob"=>"94124912421", "lol"=>"4134241242", "paul"=>"41240241");
foreach ($users as $user=>$cell) {
echo "Sending message to user " . $user . "<br>";
send($cell,"test");
sleep(30);
}
What happens is that it looks like it is loading for 3*30=90seconds and then it outputs all together (with pages fully loaded now)
Sending message to user bob
Sending message to user lol
Sending message to user paul
Isn't there a way for this not to happen?