This doesnt seem to work:
/// delete emails first
$this->db->where('DateSent', 'DateSent!=NULL');
$this->db->delete('Emails');
I guess I need to use a loop. Not sure how to go about doing this. Can anyone help?
Cheers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you were to look in the very useful CodeIgniter userguide you’ll see the operator should be included as part of the first parameter not second. This should solve it: