09.12.2011, 17:56
Hi,
I have noticed that if I use the 'db_get_field' function and the field of my result set which I am trying to get contains a NULL value, then the use of the 'db_get_field' function will crash my server. Apparently you cannot get a field which contains a NULL value.
So, does anyone know of any way that I can detect if a field (or even an entire result set) has a NULL value present without using a plugin that goes beyond SQLite? My case is such that the result set may or may not contain a NULL value and I do not always know if it will or not.
I have noticed that if I use the 'db_get_field' function and the field of my result set which I am trying to get contains a NULL value, then the use of the 'db_get_field' function will crash my server. Apparently you cannot get a field which contains a NULL value.
So, does anyone know of any way that I can detect if a field (or even an entire result set) has a NULL value present without using a plugin that goes beyond SQLite? My case is such that the result set may or may not contain a NULL value and I do not always know if it will or not.