Example #1
0
<?php

include "banco.php";
remover_tarefa($conexao, $_GET['id']);
header('Location: tarefas.php');
Example #2
0
<?php

include "config.php";
include "banco.php";
remover_tarefa($mysqli, $_GET['id']);
header('Location: tarefas.php');