$req = spi_exec_query("DELETE FROM data WHERE id = $id",1);