Detecting NULL Query Result Values
#1

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.
Reply


Messages In This Thread
Detecting NULL Query Result Values - by -Cyclone- - 09.12.2011, 17:56
Re: Detecting NULL Query Result Values - by MadeMan - 09.12.2011, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)