I have this array of string:
array(59) {
[0]=> string(25) "shadowcores.twifysoft.net"
[1]=> string(11) " "
}
Obviously there are 57 elements more. I need to know how can I remove this:
string(11) " "
There is no string to display but the string itself its not empty. How can I check for these types of values before adding them into my array?
header('Content-Type: text/plain');to the top of your script.if ($arr[$i] == ' ') { unset($arr[$i]); }?