Call sp SQL server with a button

Hi! I have a sp on dale server, the sp works perfect on sql server with exec SQL-transact cmd. However, I need to call the sp of the frontend with a button. How can I do it? Do I need a Javascript? Or just PHP to call the sp of the btn?