Update search.php

Put some getOne statements in comments will check with Joseph on format