Re: [PHP-WIN] problem passing variables...

2002-10-09 Thread db
o "Press to continue"; > ?> > -----Original Message----- > From: db [mailto:[EMAIL PROTECTED]] > Sent: 09 October 2002 15:58 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] problem passing variables... > > > at first, it was as though no variables were

RE: [PHP-WIN] problem passing variables...

2002-10-09 Thread Rich Gray
So you're doing this right? "; $i++; echo "Press to continue"; ?> -Original Message- From: db [mailto:[EMAIL PROTECTED]] Sent: 09 October 2002 15:58 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] problem passing variables... at first, it was as though no varia

Re: [PHP-WIN] problem passing variables...

2002-10-09 Thread Ignatius Reilly
I remember having met interpolation trouble with such code bits as ...passtest.php?i=".$i."\"/... in echo "Press to continue"; What I do now is write it this way: echo "Press to continue"; And everything works fine. This has the additional advantage of clarity. BTW, you have an erroneous slash

Re: [PHP-WIN] problem passing variables...

2002-10-09 Thread db
at first, it was as though no variables were passed so the output looked like: 1 Press to continue pressing to continue added '?i=2' to the address, but the output remained the same. then, as per Rich Gray's suggestion, i capitalized $_GET (from '$_get'), which had weirder results. $i

Re: [PHP-WIN] problem passing variables...

2002-10-09 Thread H Marc Bower
What output *are* you getting? (V) "db" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > i've seen a lot of posts about this, but none helped. i've broken the script > down to its simplest components and still no luck. > > > IF(!isset($_get['i'])) { > > $i = 1; > > } > > echo

RE: [PHP-WIN] problem passing variables...

2002-10-09 Thread Rich Gray
What happens if you use $_GET['i'] instead of $_get['i']? PHP vars are case sensitive. Rich -Original Message- From: db [mailto:[EMAIL PROTECTED]] Sent: 09 October 2002 14:41 To: [EMAIL PROTECTED] Subject: [PHP-WIN] problem passing variables... i've seen a lot of posts about this, but n