Update categories.php

Corrected some errors