Update browse.php

Making browse.php actually work!
I'm not so into your code, so I hope everything is correct.