how to diferent text for rated user
-
Hi
it is true?
<?php if($rated){ echo ' <i class="fa fa-star" aria-hidden="true"></i> <p class="2"> ' . $ratings_average .'</p>'; } else { echo ' <i class="fa fa-star-o" aria-hidden="true"></i> <p class="2"> ' . $ratings_average .'</p>'; } ?>
i want if user rated show
{ echo ' <i class="fa fa-star" aria-hidden="true"></i> <p class="2"> ' . $ratings_average .'</p>'; }
if not rate `{
echo ‘
<i class=”fa fa-star” aria-hidden=”true”></i>
<p class=”2″> ‘ . $ratings_average .'</p>’;
}`sorry i cant good speack english please help me :X
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to diferent text for rated user’ is closed to new replies.