php part of trendapp