I am reading Data into Array (id, part_no, part_desc, part_region etc.)
Example of Data: (Not PHP Code) ID | Part_no | Part_Desc | Region 1 | 001 | Valve | CA 2 | 121 | Union Nut | WA 3 | 072 | Fitting | VA 1 | 352 | O-ring | AZI am running while loop so it reads the Array; Now, I like to print this data with one condition; If ID 1 is printed then next time it needs to skip if the same ID is repeated.
So in example above, it should print only ID 1, 2, 3 and stop printing.
Any help will be appriciated. Thanks.