Welcome Guest, Not a member yet? Register   Sign In
Can I convert empty strings to NULL with a Codeigniter validation rule?
#4

@b126,

You could take the forms data array and determine if it has any '' values and if so then change it either NULL or 0.
Reply


Messages In This Thread
RE: Can I convert empty strings to NULL with a Codeigniter validation rule? - by php_rocs - 02-27-2019, 03:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB