Cant u switch with the use of cat=1 cat=2 etc? [!Read!]
I use this code, in my other link system to switch to cat 1 for the first link and then cat 2 for the other links that has the cat_id to 2, or 3 etc..
err, let me get this straight, you kind of confused me...
are you looking for a swticher?
PHP: switch - Manual
or your looking to properly loop out each category as a link?
i think i see where you are heading with this script.... Your checking to see if there are any news items in the database, and if there are you want to output a link for each item.
or are you trying to see if the requested $_GET['cat'] is i n the database, and if so, output a link to it?
or are you trying to set up a switcher, that pulls all news items from requested category?
i'm sorry you need to be a little more specific.
you are so lost :)
i wonder why my code is not working as i do in the other script i use and my question was is it because i use links on the other one and not on this is that the problem..
|All times are GMT. The time now is 08:41 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0