Page 2 of 2

Posted: Fri Oct 24, 2003 12:39 pm
by Gen-ik
nataly333 wrote:Of course have a .php extension file. One my computer is setup as a server, and second as a client. All another things are working well : connection to MySQL, tables filling...
Only refreshing doesn't work.
That's very odd. It supposed to work, but it doesn't:(
Is it depends on browser?
I remember that it worked. I reinstall php and MySQL, and it stoped to work.
But that is stupid: this is only html tag...?

Well we can always try the JavaScript way.

Put the following code anywhere in your webpage.......

Code: Select all

<script language="javascript">
function RefreshMe() &#123; window.location = '<? echo $_SERVER&#1111;"PHP_SELF"] ?>'; &#125;
setTimeout("RefreshMe()", 60000); // 1000 = 1 second.
</script>
........ that should work ........... hopefully.

Posted: Fri Oct 24, 2003 12:48 pm
by nataly333
Thanks to all for help.
Discussion was very interesting.
I found my mistake. It is work now.
Nice day to all !
Nataly

Posted: Sat Oct 25, 2003 12:22 pm
by nataly333
To Gen-ik
Thank You so much !
JavaScript is working and i like it more.
Have a nice day
Nataly