<?php
//this works
$sql = 'DELETE FROM '.$crudTableName.' WHERE '.$k.' = '.$crudColumnValues['id'];
$this->db->query($sql);
// shortened it up to be this, but it does not work, am I missing something?
$this->db->delete($crudTableName, array($k => $crudColumnValues['id']));
?>
it does not output any error codes, it just does not delete anything.
[eluser]Brad K Morse[/eluser]
That did not work. I added the ) to the end of the first line and replaced the % with $, I am not sure if that was a typo or not.