Say I have an SQLite table with a field named someValue
. Say I use PHP to query the table and a row is returned in which someValue
is NULL.
If I try to reference $row['someValue']
, what happens? Does PHP return a null
value, or does it throw an "undefined index"? I can't find this in the documentation. What if I use a numeric index instead of associative? If PHP returns a null
, is isset()
true or false?
Bonus: is this handled the same way in other databases like MySQL?