• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database INSERT changes default 'no' to NULL

#10
i write this like that for me

'guidelines_signed' => isset($this->input->post('guidelines_signed')) ? 'yes' : 'no',

because guidelines_signed is not send if it's not checked.
Reply


Messages In This Thread
RE: Database INSERT changes default 'no' to NULL - by keulu - 03-08-2016, 03:47 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.