apply sql data in movies page