[eluser]Unknown[/eluser]
Hello,
I have a table in the database for countries and states. The states have a parent_id-column pointing on the country they belong to. The countries should have NULL as there parent.
To save new countries/states I have i simple page with i text box for name and one drop list with countries. The first value in the drop list are NULL.
How can I store that in database? Codeigniter puts ' around NULL. How can I force CI to use onlu NULL?
Thanks,
Pelle