comment_ID, 'rating', true ) ); for ($i = 1; $i <= 5; $i++) { $active = ($i <= $rating ? ' active' : ''); ?>