Hi Jason, <?php $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, $airforcemuseum); $query_earlytour = sprintf("SELECT * FROM early WHERE ID = %s", $colname_earlytour); $earlytour = mysql_query($query_earlytour, $airforcemuseum) or die(mysql_error()); $row_earlytour = mysql_fetch_assoc($earlytour); $totalRows_earlytour = mysql_num_rows($earlytour); ?>
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. > > > > <?php > > $NewID = $colname_earlytour + 1; > > ?> > > <META HTTP-EQUIV="refresh" CONTENT="15" URL=early-tour.php?ID= <?php echo > > "$NewID";?>> > > > > 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 identified by a unique ID# I just want > > the page to reload with the data from the next ID# after a givin time 15 > > seconds. > > Where does $colname_earlytour come from? > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Credit ... is the only enduring testimonial to man's confidence in man. > -- James Blish > */ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php