Run php function after html click after page refresh

Run php function after html click after page refresh