Jump to content

[SOLVED] Filter Array Help !


d.shankar

Recommended Posts

I have an array such that it contains empty characters and numbers.

like this.. the size of this array is 12 including the whitespaces...

 

1

2

 

3

4

5

 

 

6

7

8

 

What i need to do is to filter all the whitespaces and to reduce the array size to 8

like this

 

1

2

3

4

5

6

7

8

 

Can i get a generalised example ?

Link to comment
https://forums.phpfreaks.com/topic/84971-solved-filter-array-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.