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

Posted by J.O. Aho on 05/29/06 17:44

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

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