Update CustomSearch.php

Removed deprecated mysql_connect functions and implemented mysqli_connect functions