changed advsearch.html to php