note 113304 rejected from function.array-filter by Thiago

From: Date: Mon, 23 Sep 2013 20:59:40 +0000
Subject: note 113304 rejected from function.array-filter by Thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196357@lists.php.net to get a copy of this message
Note Submitter: puneet_sharma at hotmail dot ca ---- 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?

« previous php.notes (#196357) next »