0

hi ... i is it possible in php:

updating/refreshing a page once per 30seconds (1/30 secs) and it can be set for 2x,3x times and so on.... and also the seconds (the 30 seconds ) can be set also....

4
Contributors
9
Replies
10
Views
5 Years
Discussion Span
Last Post by uselessninja
0

i think it would be better to user javascript

uh .. ic ..javascript .. but php cant do this?

0
<meta http-equiv="refresh" content="30">

its a static form... i mean u cant set it in the web form itself.. u need to open the code and set the time.. thats how meta works ... right?

0
<head>
----
----
<meta http-equiv="refresh" content="<?php echo $secs; ?>">
---
---
</head>

you can dynamically give the value for the $secs variable too?

0
<head>
----
----
<meta http-equiv="refresh" content="<?php echo $secs; ?>">
---
---
</head>

you can dynamically give the value for the $secs variable too?

interesting..ill try this ... but i cant totally control the time...

it only refresh until ur given time reach... but what if i will refresh it twice and so on.. every given time...

ex. when i put 1000(on the textbox) then i want to refresh it twice or more than within 1000 (my given time)

0
<head>
----
----
<meta http-equiv="refresh" content="<?php echo $secs; ?>">
---
---
</head>

you can dynamically give the value for the $secs variable too?

it didnt work :(

0

Chang your cose as <meta http-equiv="refresh" content="60">

yeah thats what i said.. i want to change the value via textbox not on the script

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.