Php & MySql Pagination Script
View Single Post
04-10-2009, 11:37 AM
Join Date: Feb 2009
Location: New York
Originally Posted by
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"...
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay