Re: [PHP] Meta refresh best answer ??

2004-11-09 Thread Justin French
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

Re: [PHP] Meta refresh best answer ??

2004-11-09 Thread Ing. Ivo F.A.C. Fokkema
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

Re: [PHP] Meta refresh best answer ??

2004-11-08 Thread Michael Gale
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

[PHP] Meta refresh best answer ??

2004-11-08 Thread Michael Gale
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

Re: [PHP] Meta Refresh Question (PHP)

2003-01-17 Thread Edson Waite
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; >

RE: [PHP] Meta Refresh Question (PHP)

2003-01-17 Thread John W. Holmes
> Can anyone see a problem with this? Yes. > $TrialID = $colname_earlytour + 1; > if ($TrialID <= 5) > { > $NewID = $TrialID; > $Page = test Here... > } > else > { > $NewID = 1; > $Page =

RE: [PHP] Meta Refresh Question (PHP)

2003-01-17 Thread Timothy Hitchens \(HiTCHO\)
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; >

[PHP] Meta Refresh Question (PHP)

2003-01-17 Thread Edson Waite
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

Re: [PHP] Meta Refresh

2003-01-17 Thread Marek Kilimajer
"> 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

RE: [PHP] Meta Refresh

2003-01-17 Thread Ford, Mike [LSS]
> > 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

Re: [PHP] Meta Refresh

2003-01-16 Thread Jason Wong
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

Re: [PHP] Meta Refresh

2003-01-16 Thread Edson Waite
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. > > >

Re: [PHP] Meta Refresh

2003-01-16 Thread Jason Wong
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

[PHP] Meta Refresh

2003-01-16 Thread Edson Waite
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