php - Mysql return empty rows if multi where condition with empty value -



php - Mysql return empty rows if multi where condition with empty value -

i have created table in name of folders table contain name,folderid,parentfolderid when write query homecoming empty rows

example 1 : query : select * folders_tbl parentresourceid='' result : expected

but have add together status in fail homecoming expected rows

example 2 : (issue) query : select * folders_tbl parentresourceid = '' , serviceid =1 , userid =1 result : returned empty result set table construction folderid bigint(20) serviceid int(11) userid bigint(20) foldername varchar(200) resourceid varchar(500) parentresourceid varchar createddate datetime modifieddate datetime shared int(11) istrashed int(11) isdeleted int(11) note : write query in phpmyadmin web ui

it seems have records contains null value. if use

parentresourceid null in condition

php mysql database phpmyadmin mysql-workbench

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -