in reply to DBD::mysql::st execute failed

I think perhaps what you are looking for is SQL Syntax 'IS NULL' rather than = NULL

Replies are listed 'Best First'.
Re^2: DBD::mysql::st execute failed
by bigup401 (Pilgrim) on Oct 25, 2018 at 21:39 UTC

    i tried but not working

      did you try changing $NULL = 'NULL' to $NULL = undef;

        i tried that early. and it worked