[eluser]ken_t[/eluser]
hi, i just started working with frameworks and im not a pro php programmer.
So i dont know if im doing something wrong.
In my application i have a function that insert at a db some values from the view input fields.
There are some int type fields at this table as for example the age field.
Im using $this->db->insert(table,values) function.
And when i leave the age input field null and submit the form, the escape function treats it as string and escape it.
Then i get a db error saying invalid value for int "".
I edited the escape function at db_driver.php to make it not escape null values. Is there another way for it?