Thread: PHP Question
View Single Post
Old 08-24-2011, 04:55 PM  
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by BCyber View Post
Cool. It had to be ( $paged ? 1 )

That removed the error but fuckin a now it just shows the number 1 next to every post. This is annoying
You keep resetting $count = 1; at the top of the loop.
change $count = 1; to this
if ( ! isset( $count ) ) $count = 1;
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote