i am having some trouble here i have a form that produces an array in a $_GET url color[]=yadda&color[]=jikes neither isset nor emply seems to correctly check for the variable if i enter a blank into the url color[]= then it returns TRUE everytime
you may try direct way if ($color=='') { bla bla } if ($color[0]=='' || $color[1]=='') { bla bla } Code (markup):