View Single Post
Old 04-10-2009, 11:37 AM   #34 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Tanax View Post
OOoh, I see. No no, I meant exactly what I wrote: This should work without MySQL(with any array of data), even if I used MySQL in my example xD ^_^
I was just reviewing your code, is this just a quick form for the if conditional?

(isset($p)) ? $p : 1;

Basically it's just saying, if $p is set, then take that value of $p, if it's not set, then set it to 1.

I had no idea you can do an "if" conditional without the actual call to an "if"...
allworknoplay is offline  
Reply With Quote