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/
Navigation:
[Reply to this message]
|