Beyond the other suggestion, also remember to flush your STDOUT.
flush(STDOUT);
----- Original Message -----
From: "Ron Beck" <[EMAIL PROTECTED]>
To: "Mysql" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 8:56 AM
Subject: Perl question
>
> Hello all,
> I have a procedure that queries my database and produces a line of
> output for each query. It then processes the data and performs another
> query. Everything works great interactively. I get the first
> processing message, wait a bit, get the next processing message, etc...
>
> However, when I run this same procedure as a web page, nothing is
> displayed until the program has completed all processing steps. I would
> like each processing message to display to my web page as soon as it
> appears, not (apparently) cached until the procedure has completed. I
> _KNOW_ there's a way to make perl immediately print the information but
> for the life of me I can't remember what it is. Can anyone PLEASE
> help???
>
> Thanks & regards,
> Ron
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php