Reply to Re: Why not working!!

Your name:

Reply:


Posted by Peter Wilson on 10/01/05 15:54

I have just seen a problem in my logic. I want it to return true it
either one or the other exists. This returns true if either one does
not exist. Needed to use &&.

Silly me

Many thanks

In article <3q7dvmFdfu27U1@individual.net>, Stefan Rybacki
<stefan.rybacki@gmx.net> writes
>Peter Wilson wrote:
>> Please coudl some one tell me why this line of code does nto work
>>
>> if (!isset($HTTP_SESSION_VARS['MM_Username']) or (!isset($HTTP_SESSION
>> _VARS['JKLM_Username'])))
>>
>> If I check each variable individually it works only when I try to use or
>> (||) does nit not work. I have also tired it with $_session.
>>
>
>What exactly is not working? I couldn't find a error when I tested it.
>
>Regards
>Stefan
>
>
>> Many thanks
>>
>> Peter
>> Motto "A smile aday keeps the blues away"
>>
>> http://www.sci-comm.clara.net/
>>


Peter
Motto "A smile aday keeps the blues away"

http://www.sci-comm.clara.net/

[Back to original 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

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