04-10-2009, 11:37 AM
|
#34 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by Tanax
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"...
|
|
|
|