Jump to content

$jreDetail['detailed_ratings'] Question


Thomas Etschenberg

Recommended Posts

Hello,

 

first sorrx for my bad "German-English"...

 

In my template i show the detailed-rating-summery with:

 

echo  $jreDetail['detailed_ratings'] ;

 

But now I want to show the rewiews only if detailed ratings are there. Apart from that i want to show something else). I tried this:

 

 if ($jreDetail['detailed_ratings'] > 0) :
echo '...';
else:
echo '...';
endif;

 

But this doen´t work:-( I also tryed:

 

 if ($jreDetail['detailed_ratings'] = null) :
echo '...';
else:
echo '...';
endif;

 

But this also doesn´t work.

 

Can somebody give me a tip please?

 

Greets Thomas

 

If rev

Link to comment
×
×
  • Create New...