Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie syntax question

Status
Not open for further replies.

Thadeus

Technical User
Joined
Jan 16, 2002
Messages
1,548
Location
US
Can someone tell me what the exclamation point in the following code does?
<code>
if (!isset($_SESSION['count'])) {
$_SESSION['count'] = 0;
} else {
$_SESSION['count']++;
}
</code>
 
BTW, I'm guessing that is means &quot;is not&quot;, but I can't find anything to document this.

 
Thanks... I couldn't find it and didn't know what to search for, since 'NOT' and ! are not the best search terms.

Thadeus
 
Status
Not open for further replies.

Similar threads

Replies
2
Views
381
  • Locked
  • Question Question
Replies
2
Views
368
  • Locked
  • Question Question
Replies
19
Views
991

Part and Inventory Search

Sponsor

Back
Top