modified code using function
Renamed home.php to searchbox,php