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
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
the user will not know about any new information until they click on a
link or hit a button on the page.
My question is -- if I want to keep a user
TECTED]]
> > Sent: Saturday, 18 January 2003 11:09 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Meta Refresh Question (PHP)
> >
> >
> > Hi All,
> >
> > Can anyone see a problem with this?
> >
> > > $TrialID = $colname_earlytour + 1;
>
> Can anyone see a problem with this?
Yes.
> $TrialID = $colname_earlytour + 1;
> if ($TrialID <= 5)
> {
> $NewID = $TrialID;
> $Page = test
Here...
> }
> else
> {
> $NewID = 1;
> $Page =
M
> To: [EMAIL PROTECTED]
> Subject: [PHP] Meta Refresh Question (PHP)
>
>
> Hi All,
>
> Can anyone see a problem with this?
>
> $TrialID = $colname_earlytour + 1;
> if ($TrialID <= 5)
> {
> $NewID = $TrialID;
>
Hi All,
Can anyone see a problem with this?
Aviation Hall of Fame
Thanks,
Edson Waite III
http://www.airforcemuseum.com
http://www.sportsvideooutlet.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
">
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
Hi All,
I am trying to make an automated tour as a section of my site, using the
following.
>
This works great going from early-tour?ID=1 to early-tour?ID=2 but I can't
get it to continue on to ID=3, ID=4 etc. It just keeps reloading the data
from ID=2
The data for each page is in a row identi
14 matches
Mail list logo