View Single Post
Old 06-11-2008, 09:47 PM   #2 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

There's actually a really good explanation of this where it was discussed recently in another thread, here:
Help with function stristr()

It's called the ternary operator, and aside from the explanation you'll read above, it's basically checking to see if $var is set, and if it has a value. If it does, it's reassigning the value back to itself ($var to $var), and if not, it's assigning a new value (the string 'new value') to $var.
-m
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
Dave (06-11-2008)