You are here: Re: why does this code not work...pulling my hair out... « All PHP « IT news, forums, messages
Re: why does this code not work...pulling my hair out...

Posted by J.O. Aho on 09/28/51 11:19

toedipper wrote:
> Hi,
>
> The code below is part of an insert.
>
> It inserts ok but the value for the last field userid is always written
> back as blank. The userid should be filled from the session id
> $_SESSION[MM_Username]
>
> Any ideas? On the same page that this is on I can echo
> $_SESSION[MM_Username] and that works ok.

Undefined enum MM_Username isn't the same as 'MM_Username', with other words
you can say that $_SESSION[MM_Username] != $_SESSION['MM_Username'].


//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

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