PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Bennettman
Forum Contributor
Posts: 130 Joined: Sat Jun 15, 2002 3:58 pm
Post
by Bennettman » Sat Aug 24, 2002 3:34 pm
I know the stuff like == (equal) >> (more than) and <= (less than or equal), but I can't for the life of me think up the one for "is not equal to". I'd appreciate any help ^_^
Xelmepa
Forum Commoner
Posts: 41 Joined: Sat Aug 24, 2002 3:02 pm
Location: Athens, Greece
Contact:
Post
by Xelmepa » Sat Aug 24, 2002 3:38 pm
Either use != or <> . I suggest you use != cuz <> could be for numbers only (yet I have no clue).
Generally ! is for not:
i.e.
if(!isset($var));
{
//code
}
...
this checks if a variable is not set...
Xelmepa
Forum Commoner
Posts: 41 Joined: Sat Aug 24, 2002 3:02 pm
Location: Athens, Greece
Contact:
Post
by Xelmepa » Sat Aug 24, 2002 3:45 pm
Cheerz
::drinks coke::
Bennettman
Forum Contributor
Posts: 130 Joined: Sat Jun 15, 2002 3:58 pm
Post
by Bennettman » Sat Aug 24, 2002 3:50 pm
Cheerz
::drinks Coke... then realises he doesn't have any::
Takuma
Forum Regular
Posts: 931 Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:
Post
by Takuma » Sat Aug 24, 2002 3:53 pm
**Tries to drink coke** "Oh no! I'm on diet
"
Xelmepa
Forum Commoner
Posts: 41 Joined: Sat Aug 24, 2002 3:02 pm
Location: Athens, Greece
Contact:
Post
by Xelmepa » Sat Aug 24, 2002 4:02 pm
Diet Coke
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Sat Aug 24, 2002 4:59 pm
are you men or mice? Diet coke, really.....
Takuma
Forum Regular
Posts: 931 Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:
Post
by Takuma » Sun Aug 25, 2002 12:20 am
Before drinking diet coke - Can't you be a bit more fitter if you not drink coke stuff...??
Xelmepa
Forum Commoner
Posts: 41 Joined: Sat Aug 24, 2002 3:02 pm
Location: Athens, Greece
Contact:
Post
by Xelmepa » Sun Aug 25, 2002 5:39 am
Dunno...
Xelmepa
Forum Commoner
Posts: 41 Joined: Sat Aug 24, 2002 3:02 pm
Location: Athens, Greece
Contact:
Post
by Xelmepa » Sun Aug 25, 2002 5:44 am
volka wrote: are you men or mice? Diet coke, really.....
I usually drink vodka
Takuma
Forum Regular
Posts: 931 Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:
Post
by Takuma » Mon Aug 26, 2002 12:45 am
Huh! I'm under age for that