note 113304 added to function.array-filter

From: Date: Mon, 23 Sep 2013 20:34:30 +0000
Subject: note 113304 added to function.array-filter
Groups: php.notes 
Request: Send a blank email to php-notes+get-196355@lists.php.net to get a copy of this message
I had a question, I'm trying to get rid of empty or null text values that are being generated in my program. The values are being set to null but then I need them removed. echo "\t\tfor(index=0; index < $maxclothrows; index++)\n"; echo "\t\t{\n"; echo "\t\t\tdocument.pickDivision.cloth.options[index].text = '';\n"; echo "\t\t\tdocument.pickDivision.cloth.options[index].value = '';\n"; echo "\t\t}\n\n"; So the text above is being set to '' but I need them removed, how can I do this, can someone please help me? ---- Server IP: 69.147.83.199 Probable Submitter: 66.135.118.130 ---- Manual Page -- http://php.net/manual/en/function.array-filter.php Edit -- https://master.php.net/note/edit/113304 Del: integrated -- https://master.php.net/note/delete/113304/integrated Del: useless -- https://master.php.net/note/delete/113304/useless Del: bad code -- https://master.php.net/note/delete/113304/bad+code Del: spam -- https://master.php.net/note/delete/113304/spam Del: non-english -- https://master.php.net/note/delete/113304/non-english Del: in docs -- https://master.php.net/note/delete/113304/in+docs Del: other reasons-- https://master.php.net/note/delete/113304 Reject -- https://master.php.net/note/reject/113304 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196355) next »