Results 1 to 9 of 9

Thread: Wait 5 sec

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    Wait 5 sec

    In This Example

    Line 1: Echo "1";
    Line 2: Wait here
    Line 3: Echo "2";

    Using PHP
    -------------
    How can let the script wait some time (For example 5 Sec) in the next line and after that continue ?

  2. #2

  3. #3
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    Originally posted by scoutt
    something like this

    http://www.snippetlibrary.com/viewht...id=6&siteid=64
    lol, ur site just has everything doesnt it ?

  4. #4
    scoutt
    Guest
    that's what it's for

  5. #5
    Your users might get confused when your page always just stops loading at a certain point then finishes...

  6. #6
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    Originally posted by filburt1
    Your users might get confused when your page always just stops loading at a certain point then finishes...
    if what your saying is: do the job then move along as fast as possible, then i totally agree

  7. #7
    carp
    Guest

    ...

    Echo 'Line 1/n';
    Echo 'Line 2/n';
    Echo 'Line 2/n';

  8. #8
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609

    Re: ...

    Originally posted by carp
    Echo 'Line 1/n';
    Echo 'Line 2/n';
    Echo 'Line 2/n';
    lol, ur just making all the good calls arent u

  9. #9
    New Member
    Join Date
    Mar 2002
    Posts
    10

    re:wait 5 sec

    i think u can use the time() function... but u have to refresh the page after the desired interval to display the next echo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width