$data = array( 'id' => $id, ); if ($user = $this->input->post('name')) { $data'user' = $user; }.
1 For quick and straightforward solution. – Ancide Jul 17 at 13:07 I get an error "Can't use method return value in write context in line xx" – Danny Jul 17 at 13:10 @Danny: See update. :) – alex Jul 17 at 13:10 @Alex, I still see an empty value being inserted and not the default field value :-( – Danny Jul 17 at 13:15 @Danny: I'll make an update :) – alex Jul 17 at 13:18.
This is probably related to the post method. When name is empty or undefined it will return an empty string. Which then gets input in the column.
$username = $default_user : $this->input->post('name')); $data = array( 'id' => $id, 'user' => $this->input->post('name'), ); $this->the_model->the_model_function($data).
$username = $default_user : $this->input->post('name')); – MrFoh Jul 17 at 14:52.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.