Welcome Guest, Not a member yet? Register   Sign In
trans_status wrong value
#2

The problem pops out when stricton => TRUE. I was trying to insert an empty string into an int column. What is still obscure to me is the first time I load the page and submit data via ajax, $data['x'] equals NULL. If I re-submit same data without refreshing page, $data['x'] equals "" (empty string).

This is how I get data from post


PHP Code:
$data['x'] = $this->input->post('x'); 
Reply


Messages In This Thread
trans_status wrong value - by geekita - 10-06-2018, 05:25 PM
RE: trans_status wrong value - by geekita - 10-07-2018, 02:35 AM
RE: trans_status wrong value - by php_rocs - 10-08-2018, 07:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB