note 47982 deleted from function.session-register by philip
| From: | philip@php.net | Date: | Wed, 29 Mar 2006 06:23:40 +0000 |
| Subject: | note 47982 deleted from function.session-register by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106914@lists.php.net to get a copy of this message | ||
Note Submitter: Foliot Gerald
----
Note on "Tümmel atop at bluewin dot ch"
>However, when I call the $_SESSION-variable, it is necessary to >use the same counter
>variable name.
> This will not work:
> $p=3;
> echo '<input type =text value
> ='.$_SESSION['titel[$p]'].'>';
> That one is ok:
> $i=3;
> echo '<input type =text value
> ='.$_SESSION['titel[$i]'].'>';
The reason is that PHP register variable in the form
titel[$i]' in the session file
and not in the forme titel[1] in the session file