you mean a link? "text button" is pretty contradictory. If you mean a link, just put a query string in the url.
php is server side, so if by respond, you must mean "call a page". if you want something to happen on the page, instead of calling one, you need js.