Using ISSET()...How does this line of code work?
View Single Post
06-11-2008, 09:47 PM
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
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.
The Following User Says Thank You to delayedinsanity For This Useful Post:
View Public Profile
Send a private message to delayedinsanity
Visit delayedinsanity's homepage!
Find More Posts by delayedinsanity