Hello all!!
Well I'm very new to PHP, I'm a webdesigner/Graphic designer and I've discovered a love for programming I've been reading loads and I'm getting the hang of things now, however I've just been given a project that has me stumped...
I'm importing a tab delimited .dat file which contains a numerically indexed multidimensional array (I think), I can get the thing to display in order and even style the results, but thats about it...here's the thing, I need to group the contents by code which is the first set of letters/numbers (10 length) then display parts according to different queries I need somewhere to start with this...so here's a sample of the data:
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 1 RED - XS
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 2 RED - S
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 3 RED - M
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 4 RED - L
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 5 RED - XL
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 6 RED - XXL
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 7 RED - XXXL
XFRT52CR WOMENS PROTEX VILOFT L/ Y N 2 1 8 RED - XXXXL
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 1 WHITE - XS
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 2 WHITE - S
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 3 WHITE - M
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 4 WHITE - L
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 5 WHITE - XL
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 6 WHITE - XXL
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 7 WHITE - XXXL
XUTO3W MENS ULTRATHERM LONG PANTS Y N 1 1 8 WHITE - XXXXL
It all looks so straight forward, but I can't find the answer, please some help or pointers would be great!