I have a DAO class that contains all the methods to execute. But when the user enters his access, he does a select from the bank bringing his clients.
Inside the while I put
My question is: how do I call the class DAO and the delete function that contains it?
Example I already did and did not work
echo "<td><a href='UsuarioDAO.php?excluir=$id'><button>Clique</button></td> </a>";
class UsuarioDAO(){
public function excluir(){
//codigo vem aqui
}
}