473,466 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

kept information


Hi have this code, that I print two or more things ate a diferente time, and
the page refreshs after 10 seconds.

<head>
<meta http-equiv="refresh" content="10">
</head>
<body>
<?php
$hour = 21;
$minute = 06;
if(date('H')==$hour AND date('i')==$minute)
{ echo "hi how are you."; }
$hour = 21;
$minute = 07;
if(date('H')==$hour AND date('i')==$minute)
{ echo "are you fine?"; }
?>

however it is possible to keep in the page the information that was printed?

thanks


Jul 17 '05 #1
2 1352
On Fri, 3 Sep 2004 03:28:31 +0100, "devil_online"
<de************@hotmail.com> wrote:

Hi have this code, that I print two or more things ate a diferente time, and
the page refreshs after 10 seconds.

<head>
<meta http-equiv="refresh" content="10">
</head>
<body>
<?php
$hour = 21;
$minute = 06;
if(date('H')==$hour AND date('i')==$minute)
{ echo "hi how are you."; }
$hour = 21;
$minute = 07;
if(date('H')==$hour AND date('i')==$minute)
{ echo "are you fine?"; }
?>

however it is possible to keep in the page the information that was printed?

thanks

You could store the data in a SESSION, then read / display and overwrite
that with the next set of data and so on.

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/
Jul 17 '05 #2

"Ian.H" <ia*@WINDOZEdigiserv.net> wrote in message
news:3k********************************@4ax.com...
On Fri, 3 Sep 2004 03:28:31 +0100, "devil_online"
<de************@hotmail.com> wrote:

Hi have this code, that I print two or more things ate a diferente time, andthe page refreshs after 10 seconds.

<head>
<meta http-equiv="refresh" content="10">
</head>
<body>
<?php
$hour = 21;
$minute = 06;
if(date('H')==$hour AND date('i')==$minute)
{ echo "hi how are you."; }
$hour = 21;
$minute = 07;
if(date('H')==$hour AND date('i')==$minute)
{ echo "are you fine?"; }
?>

however it is possible to keep in the page the information that was printed?
thanks

You could store the data in a SESSION, then read / display and overwrite
that with the next set of data and so on.

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/


And how could I do that?

thanks in advance.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Taschler Raimund | last post by:
Hi all, How can I validate XML against XSD both read from a Database (blob) and where its contents are kept in string-variables? I don't want to go the long way round writing them to files...
0
by: Derek | last post by:
I am creating an intranet using Visual Web Developer Express Edition. Everything has been working OK until yesterday when I started getting 62 messages all beginning "Could not find schema...
4
by: Ronald S. Cook | last post by:
Should Visual Studio solution files (.sln) be kept out of VSS? I'm thinking so, but want verification before I propose the policy change to my management. Thanks, Ron
2
by: panklaj | last post by:
how can I install winXP from the setup kept in harddisk.I don't have xp bootable cd but have win 2003 cd.there is no other os installed.
2
by: MikeP | last post by:
Hi there, This is actually (probably) a C# or .NET issue. I'm working on an VS 2005 AddIn and at one point I'm caching all "EnvDTE80.ErrorItem" objects that result from compiling one or more...
3
by: musai | last post by:
Hi Members, I have to create one VB application. What I want to know is that is it possible to access the files kept in one server through vb appliaction run by another server. That means I...
4
by: ganesh22 | last post by:
Why we want to use .net? & why Microsoft kept name as .net?
0
by: Larry Smith | last post by:
Hi there, Can anyone explain why the assembly qualified names seen in the ".resx" file for each form in an application aren't kept up-to-date by Visual Studio. For instance, if a dialog uses a...
6
by: Lloyd Sheen | last post by:
I have a problem in a program in which a jpg file which is being used to load the Image of a picturebox is being kept after the load. The code is as follows: Public ReadOnly Property...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.