title: Checkbox or button inside of a form to run a task without submit?
body: <p>I have a real problem, I can't get sorted out?</p>
  
  <p>I have a form to look up Users and it brings back the user by id of course. Then you can look at their profile and see their email, comments and whatever. You can make little changes and click the save button and it UPDATES the record. </p>
  
  <p>I have another php script that needs the $email variable from that exact user to process another script to "suspend" their billing payment? (since they are only lined by email)</p>
  
  <p>I was thinking of having either a button or checkbox that basically states,
  Check or Press to Suspend this user (without clicking the Save on the main form) so it works independently, but still needs to grab the $email via POST or GET or $email = (isset($_POST['email']) ? $_POST['email'] : "");</p>
  
  <p>Maybe an Ajax or Jquery script... Or can I do this with PHP?</p>
  
  <p>I don't even know if it is doable. If I run the script on it's own, via GET, it works perfect with the errors and echo statements, but I think there is a better work around. It would be nice to just click a button or check to run a process and get a returned echo!</p>
  
  <p>If button is clicked or checkbox is checked run this script and pass it a variable sort of thing??</p>
  
  <p>Thanks in advance, I'm not sure where to start??</p>