connected post to database video 24, made $query variable