Warning: PDOStatement::execute(): SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`miguelde_projeto8`.`painelmiguel`, CONSTRAINT `painelmiguel_ibfk_1` FOREIGN KEY (`macmiguel_idmacmiguel`) REFERENCES `macmiguel` (`idmacmiguel`) ON DELETE NO ACTION ON UPDATE NO ACTION) in /home/miguelde/projeto8.migueldebarba.com.br/miguelmiguel/crudmac.php on line 24 CRUD PHP PDO