Update view.php

Array view change