I am trying to run query from php. Part of the WHERE
clause include the IS NULL
.
In this case I am getting no records.
Example:
SELECT * FROM TABLE WHERE ITEM IS NULL"
no records returned. When tested directly in PL/SQL I got records.
SELECT * FROM TABLE WHERE ITEM ='cars'"
it's working fine records retreived.
Does PHP reject when using IS NULL
in a query?