Posted by Ian Davies on 05/29/06 18:40
Thanks Aho
sorry I should have added, what if I want each newly added item to the
session to display as seperat lines when returned to a text field?
Ian
"J.O. Aho" <user@example.net> wrote in message
news:4e0flvF1cbjk5U1@individual.net...
> Ian Davies wrote:
> > Hello
> > I am trying to update a session, ie everytime the page is resubmitted I
want
> > the current selected value from a list to be appended to the old session
> > value. I have the following code but am unable to get it to work. I dont
> > know the correct syntac wher I have put the word 'PLUS'.
> >
> > <?php $_SESSION['savedcomm'] = $_SESSION['savedcomm'] PLUS
> > $_POST['selectcomm'];?>
> >
> > I have tried & but this doesnt work, or even && which I have seen in
some
> > script
>
> $_SESSION['savedcomm'] = $_SESSION['savedcomm'] . $_POST['selectcomm'];
>
>
>
> //Aho
Navigation:
[Reply to this message]
|