Holder Posted October 29, 2012 Share Posted October 29, 2012 respiritu, please move your question to another topic. Being polite wouldn't hurt either. t3od0r, the lines looking like this generate the links: echo "<a href='".$filename."?from=".($i*$display_nr-$display_nr)."&".$vars."'>".$i."</a> "; The function uses "$vars" to add any additional variables, such as the category id you want to be included. Somehow you will need to ensure that $vars, when given as an argument to make_next_previous_with_number(), is set to "cat_id=x". If that makes no sense at all, post again and I'll explain further I need more detailed info from someone how to fix this. If i add cat_id= after "&" and make it like this: echo "<a href='".$filename."?from=".($i*$display_nr-$display_nr)."&"."cat_id=".$vars."'>".$i."</a> "; i get at least this as link "/jokes_category.php?from=20&cat_id=" but i still need after id= to have 1 for the current category.. So please some freak help me Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.