Hi

I have

$where = array(
 'user_id  = ?' => $user,
  'video_id = ?' => $this->_getParam('code')
);

$table->delete($where);

and I am getting the Exception:

Failed: Mysqli prepare error: Unknown column 'M1F94C3359F8FFC35B' in 'where clause'

$this->_getParam('code') = M1F94C3359F8FFC35B

I just dont understand why it is using the value of code as a column name when it should be using video_id ?

Cheers

Ian

Reply via email to