On 09/11/2004, at 2:33 PM, Michael Gale wrote:
I am working on a site where people will be updating information in a
database and should have up to date info. Now since HTTP is stateless
the user will not know about any new information until they click on a
link or hit a button on the page.
My
Hi Michael,
I always use
header('Refresh: 2; url=' . $_SERVER['PHP_SELF']);
to reload the current page every 2 seconds. You may want to pass $_GET
variables, depending on your needs. Also make sure you call this function
_before_ any other output has gone to the browser.
HTH,
Ivo
On Mon, 08
Hello,
I really wanted to know if there was a better way to do this using PHP
? That is why I e-mailed the list.
Michael.
Michael Gale wrote:
Hello,
I am working on a site where people will be updating information in
a database and should have up to date info. Now since HTTP is stateless
Thanks Guys,
That took care of it. I was also missing "$" in the meta tag line before
NewID.
Thanks again,
Ed Waite
"Timothy Hitchens )" <[EMAIL PROTECTED]> wrote in message
004b01c2be8e$f2d42ca0$0500a8c0@bambino">news:004b01c2be8e$f2d42ca0$0500a8c0@bambino...
> It runs when you fix your (remov
> Can anyone see a problem with this?
Yes.
> $TrialID = $colname_earlytour + 1;
> if ($TrialID <= 5)
> {
> $NewID = $TrialID;
> $Page = test
Here...
> }
> else
> {
> $NewID = 1;
> $Page =
It runs when you fix your (removed URL's and line endings) what is it
not doing?
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Edson Waite [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 18 January 2003 11:09 AM
> To: [EMAIL PROTEC
">
misplaced quote, missing semicomma, and redundant space
Edson Waite wrote:
Hi All,
I am trying to make an automated tour as a section of my site, using the
following.
$NewID = $colname_earlytour + 1;
?>
"$NewID";?>>
This works great going from early-tour?ID=1 to early-tour?ID=2 but I c
> > On Friday 17 January 2003 11:25, Edson Waite wrote:
> > > Hi All,
> > >
> > > I am trying to make an automated tour as a section of my
> site, using the
> > > following.
> > >
> > > > > $NewID = $colname_earlytour + 1;
> > > ?>
> > > URL=early-tour.php?ID= echo
> > > "$NewID";?>>
This look
On Friday 17 January 2003 12:45, Edson Waite wrote:
> Hi Jason,
>
> $colname_earlytour = "1";
> if (isset($HTTP_GET_VARS['ID'])) {
> $colname_earlytour = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['ID'] :
> addslashes($HTTP_GET_VARS['ID']);
> }
> mysql_select_db($database_airforcemuseum, $airforc
Hi Jason,
This code was inserted by DWMX when I created the record set "earlytour" So
I don't know exactly.
[EMAIL PROTECTED]
> On Friday 17 January 2003 11:25, Edson Waite wrote:
> > Hi All,
> >
> > I am trying to make an automated tour as a section of my site, using the
> > following.
> >
>
On Friday 17 January 2003 11:25, Edson Waite wrote:
> Hi All,
>
> I am trying to make an automated tour as a section of my site, using the
> following.
>
> $NewID = $colname_earlytour + 1;
> ?>
> "$NewID";?>>
>
> This works great going from early-tour?ID=1 to early-tour?ID=2 but I can't
> get it
11 matches
Mail list logo