You are here: Re: joining variables together « All PHP « IT news, forums, messages
Re: joining variables together

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация