> > 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 looks supect if it's a direct cut-and-paste from your script -- you've got a superfluous space between ?ID= and <? php echo which shouldn't be there and may affect the value of ID that your script sees. (Also, although it won't affect your results, you really don't need those quotes in the echo -- why force PHP to interpret a string, extract the $NewID part, and then go fetch its value, when you could write <?php echo $NewID ?> and let it just fetch the value straight off? (In fact, come to that, why even bother with $NewID at all when you can write <?php echo $colname_earlytour + 1 ?> and have done with it?)) Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php