This is a discussion on Array filtering within the PHP Programming forums, part of the Web Development category; hi Guys, Here i have two arrays. I have to filter the elements in first array from second array. new ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hi Guys, Here i have two arrays. I have to filter the elements in first array from second array. new array contains the elements which are not in second array but in first array? Can anyone help me.
__________________ With, J. Jeyaseelan Everything Possible |
|
#2
| |||
| |||
| hi, you can use: array_diff function |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to reset an array in PHP? | Harmain | PHP Programming | 0 | 09-28-2009 07:07 AM |
| Manipulating in array | Jeyaseelansarc | HTML, CSS and Javascript Coding Techniques | 15 | 06-02-2008 03:08 AM |
| Three dimensional array | geoblow | Flash Actionscript Programming | 1 | 09-21-2007 03:47 AM |
| What’s the difference between the System.Array.CopyTo() and System.Array.Clone() ? | Archer | C# Programming | 2 | 08-25-2007 02:00 AM |
| Paging array in PHP | kingmaker | PHP Programming | 0 | 07-16-2007 10:11 PM |
Our Partners |