What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » AND and OR

AND and OR
Author: Message:
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
38 / Male / –
Joined: Apr 2003
O.P. AND and OR
Hi, again! hahaha, I want to make something like this in PHP

if ( $a=yes OR ($b<=10 AND $c<=10) { etc.

Were, <= means "smaller or equal to"
and one condition is $a=yes
and the other conditions is $b<=10 AND $c<=10

I think this could be like...

if ($a=="yes" || ($b<="10" && $c<=10)) {

My question is can i group conditions using ()? Is <= the way you write "smaller or equal to"?

Thank you in advance for your help.
[Image: leonelgalan.png]
02-19-2004 04:47 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
AND and OR - by leito on 02-19-2004 at 04:47 AM
RE: AND and OR - by WDZ on 02-19-2004 at 05:05 AM
RE: AND and OR - by fluffy_lobster on 02-19-2004 at 07:44 PM
RE: AND and OR - by leito on 02-19-2004 at 09:18 PM
RE: AND and OR - by Apatik on 02-19-2004 at 10:16 PM
RE: AND and OR - by Choli on 02-19-2004 at 10:23 PM
RE: AND and OR - by user2319 on 02-20-2004 at 05:04 PM
RE: AND and OR - by WDZ on 02-20-2004 at 05:20 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On