title: Calling php file without submit button
body: <p>I have a form table with checkboxes. I want the user to check whichever url (element) they want to delete, press a button which then calls a "delete.php" file which deletes that record in mysql.</p>
  
  <p>What I am trouble finding out how to do is to call the delete.php file with a button outside of the form. I know that you would typically use a submit button inside the form but in this situation, I am exploring whether it is possible to do it with a button that is outside it.</p>
  
  <p>An image is attached to illustrate why I want to do that. The url menu on the bottom is called by a function because I want it to be modular. So I think the "Delete BM" question needs to be able to action the deletion of the checked checkbox.</p>
  
  <p><a href="https://i.stack.imgur.com/JPIpq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JPIpq.jpg" alt="enter image description here"></a></p>
  
  <p>I have googled a variety of search cases which dont really answer my question: </p>
  
  <p><a href="https://stackoverflow.com/questions/24098975/how-to-send-checkbox-state-through-form-in-a-table">How to send checkbox state through form in a table</a></p>
  
  <p><a href="https://www.google.com.au/webhp?sourceid=chrome-instant&amp;ion=1&amp;espv=2&amp;ie=UTF-8#q=php%20how%20to%20call%20php%20file%20outside%20form" rel="nofollow noreferrer">Search "php how to call php file outside form"</a></p>
  
  <p><a href="https://www.google.com.au/webhp?sourceid=chrome-instant&amp;ion=1&amp;espv=2&amp;ie=UTF-8#q=how+to+call+php+file+without+submit+button" rel="nofollow noreferrer">Search "how to call php file without submit button"</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26204098/call-php-file-without-using-form-action">Call php file without using form action</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26204098/call-php-file-without-using-form-action">Submit without submit button</a></p>