Re: [PHP-DB] Need Help on "DHTML and PHP"

2001-11-21 Thread MrBaseball34

> >  I wrote a program which retrieved Username from DB every 2 or 4=
>  second.

Why every 2 or 4 seconds do you need to retrieve the username? The user is 
still the same in the session...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Need Help on "DHTML and PHP"

2001-11-15 Thread Richard S. Crawford

1.  You can't do it without causing the screen to flicker, unless
 you use...  Nope, that won't work.  Never mind.  The problem is
 that once the page is loaded into the browser, there is no way
 to change the content of the page based on server data without
 refreshing the page.  It doesn't work.  You could use a META
 refresh, but that would cause the flicker.  Because PHP lives on
 the server and is not interpreted by the browser, you're stuck.

2.  You failed to include a link to your page.

3.  Could you change the background color in your e-mail?  The
 bright yellow makes my eyes melt.


At 11:21 AM 11/15/2001, kelvin wrote:
>Hi everyone,
>
>  I wrote a program which retrieved Username from DB every 2 or 4 second.
>So, I used DHTML and PHP plus DB.
>  Well, I have to use DHTML because the user don't want to see the screen
>flicker. Ok. Here is my program, but it didn't worked at all.
> Could any one help me out please, I'll very appreicate.
>
>Kelvin.
>
>   P.S   if you click on view source from browser after gen.
>the code, it shown username on $toOut, but nothing display.


Sliante,
Richard S. Crawford

http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
"It is only with the heart that we see rightly; what is essential is 
invisible to the eye."  --Antoine de Saint Exupéry

"Push the button, Max!"


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]