Re: Session confusion again :( - Thanks!
| From: | Ligaya Turmelle | Date: | Thu, 15 Apr 2004 03:24:55 +0000 |
| Subject: | Re: Session confusion again :( - Thanks! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183407@lists.php.net to get a copy of this message | ||
Can you explode something while you are working on it?? Won't it overwrite
itself?
Respectfully,
Ligaya Turmelle
"Boot" <pfine@of-law.com> wrote in message
news:20040414163921.44213.qmail@pb1.pair.com...
> Any help with this would be appreciated. the p and v lnames are posted
from
> a form. In the form, the user seperates last names with a "/". What I
can't
> understand is why Test1 shows as nothing, while Test2 shows the value I
> wanted. Thanks a lot!
>
>
> $p_lnames= explode("/", $p_lnames);
>
>
> $_SESSION['element_countp'] = count($p_lnames);
>
>
> echo "TEST 1".$element_countp;
>
>
> $element_countp = $_SESSION['element_countp'];
>
>
> echo "TEST 2".$element_countp;