Change the status in the db |
Hello,
I am a beginner with Codeigniter. I want to change the status of my comments in order to validate them. Let me explain: by default comments have a value of 0 and invisible to visitors. I created an administrator space to manage comments. I want to change the status from 0 to 1 simply. I tried this: PHP Code: $ this-> db-> where ('comment_id', $ comment_id); I have a mistake: Quote:Error Number: 1064 Thank you in advance for your answers See you soon
(06-09-2017, 08:42 AM)tonny16 Wrote: Hello, update to 3 PHP Code: $data = array( |
Welcome Guest, Not a member yet? Register Sign In |