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....

i think it would be better to user javascript

<meta http-equiv="refresh" content="30">
commented: helpful post +6

i think it would be better to user javascript

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

<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?

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

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

<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)

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

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

it didnt work :(

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

bump..bump ..keeping it alive

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.