Failed to call php on the submit of a button

0

I'm trying to run a php script on the submit of a button, but the php is called I get an error in inlcude - "failed to open stream: No such file or directory in", I called php by an include button it worked but when I try to put it on the button this error.

html

<a href="#!" class="modal-close btn-flat">Cancelar</a>
<a href="Chamadas/remover.php"><button  class="btn cyan" type="submit">Excluir</button></a>

include in php that reproduce the error when I call only by the button - filename remove.php

include_once("DAO/dalA.php");
include_once("Classes/classA.php");
    
asked by anonymous 27.09.2018 / 21:24

0 answers