Re: Refreshing php page every 5 secs WHILE SAVING INFORMATION

From: Grant <grant(at)conprojan(dot)com(dot)au>
To: Richie <dugganr(at)student(dot)cs(dot)ucc(dot)ie>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Refreshing php page every 5 secs WHILE SAVING INFORMATION
Date: 2001-03-26 00:13:25
Message-ID: Pine.LNX.4.21.0103261012520.29634-100000@webster.conprojan.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

<INPUT TYPE=HIDDEN NAME=id VALUE=<?php echo $id; ?>>

On Thu, 22 Mar 2001, Richie wrote:

> Hi
>
> I have a php page that I need to be rereshed every 5 seconds to make sure
> that the information displayed is up to date. I tried the Refresh Meta
> tag :
> <META HTTP-EQUIV="Refresh" CONTENT=5>
>
> which worked OK (in Explorer, not in Netscape?? but thats another issue!)
> BUT it doesn't work properly to my needs. You see suppose the page that I
> want refreshed is called bidForHouse.php, well bid.php contains a <FORM>
> which passes in a variable $id to bidForHouse.php, it works grand the
> first time it loads up, i.e. it has obtained what the value of $id is and
> can act accordingly but when the refresh comes into operation it is like
> the value of $id got lost and is set to null, thats my problem!
>
> Any ideas on how to save the value of $id before refreshing?
>
> Thanks a million, I hope one day that I might be able to contribute to
> this page but I can't see it happening for at least a few years, I have a
> long way to go!
>
> Richie
>
>
> =========================================================
> Richie Duggan
> Computer Science IV
> University College Cork
> Eamil : dugganr(at)student(dot)cs(dot)ucc(dot)ie richie_dug(at)yahoo(dot)com
> Homepage : http://student.cs.ucc.ie/01/dugganr/index.html
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Chris 2001-03-26 00:28:31 Re: Input Forms
Previous Message Grant 2001-03-26 00:11:46 Re: Converting POSTGRESQL timestamp to UNIX timestamp