Re: problem passing variables...
| From: | H Marc Bower | Date: | Wed, 09 Oct 2002 14:14:50 +0000 |
| Subject: | Re: problem passing variables... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16287@lists.php.net to get a copy of this message | ||
What output *are* you getting?
(V)
"db" <postmaster@kouryuu.com> wrote in message
news:<20021009134128.82273.qmail@pb1.pair.com>...
> 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.
>
> <?php
>
> IF(!isset($_get['i'])) {
>
> $i = 1;
>
> }
>
> echo $i."<BR>";
>
> $i++;
>
> echo "<a href=\"passtest.php?i=".$i."\"/>Press to
> continue</a>";
>
> ?>
>
> i've tried using empty(), $_post['i'] and $i, but none will work. i've
been
> trying to pass the variable back to the page itself so that $i keeps
> increasing by 1 with each click. not that there's a use for this other
than
> my figuring out how to use it.
>
> any thoughts?
>
> btw, i'm running Apache v1.3.26 w/ php v4.2.3 / MySQL v3.23.52 on a
Win2kPro
> (SP3) machine.
>
> thx!