[eluser]Unknown[/eluser]
I'm a newbie, coming to CodeIgniter from ColdFusion... When I do a db call and it returns no records, I want to have the columns with nulls in as all the values.
Purpose: When adding a new record to a table, I am using 0 as the ID. The process is querying the db to populate the form, (when id is 0, it is a new record to be added).
But, when I do this I am getting a PHP error since the record set returned if truly null, not simply "empty".
Ideas?
Thanks-