Recent Topics

1 Oct 18, 2007 09:38    

My b2evolution Version: 2.x

I need to get the category from Item to eventually compare it then show some banner images if it's the right category...

but i'm totally noob in php

Could someone help having the category in string without using
Item->category() cause it automatically display the result?

2 Oct 19, 2007 10:02

$theCategory = get_the_category_by_ID( $Item->main_cat_ID );

¥

3 Oct 21, 2007 05:59

with this solution the value of $theCategory always is "array"

but
$theCategory=($Item->main_cat_ID);
is what I was looking for...

so thxs a lot for your FAST help!


Form is loading...