You are here: Re: Another newbie session variable question « PHP Programming Language « IT news, forums, messages
Re: Another newbie session variable question

Posted by Kurt Milligan on 08/06/07 02:31

On Aug 3, 11:09 pm, Big Moxy <bigm...@gmail.com> wrote:
[snip]
>
> I wanted to do this but my last page no longer renders. Can I do the
> following?
>
> if ($_SESSION['phrase'] == "" {
> $_SESSION['font_type'] = "^^no^^";
> $_SESSION['thread_color'] = "^^no^^";
>
> }
>

I may be missing something, but did you just forget to put in a
closing parenthesis?
(though I would think that you would be getting a parse error from
PHP)

if ($_SESSION['phrase'] == "") { // <<< missing ) after the ""

-K

 

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

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