Making an array from delimited data



I have some data that I pull from a database that is in the following format:

-------------------------------------------------------------
Gauge Style: Auto Meter Pro-Comp
Tachometer Usage: Standard
Gauge Series: Analog
Gauge Range: 0-11,000 rpm
Gauge Diameter (in): 5 in.
Gauge Diameter (mm): 127.00mm
Sweep: Full sweep
-------------------------------------------------------------

I want the array to end up like this
--------------------------------------------------------------------------
$data['Gauge Style'] = Auto Meter Pro-Comp
$data['Tachometer Usage'] = Standard
$data['Gauge Series'] = 0-11,000 rpm

I know I can use explode on on set of data... but up do you do it line by line?

Thanks for your help

--
Joe Harman
.



Relevant Pages

  • Re: Car 12volt outlet
    ... with a cigarette lighter as standard. ... Info Blue Mountains Railway Pages ... Standard gauge railway lines are used throughout New South Wales & on ... break on some of the old, long distance roads. ...
    (talk.origins)
  • Re: Car 12volt outlet
    ... fitted with a cigarette lighter as standard. ... Info Blue Mountains Railway Pages ... Standard gauge railway lines are used throughout New South Wales & ... would break on some of the old, long distance roads. ...
    (talk.origins)
  • Re: Car 12volt outlet
    ... with a cigarette lighter as standard. ... Info Blue Mountains Railway Pages ... Standard gauge railway lines are used throughout New South Wales & on ... break on some of the old, long distance roads. ...
    (talk.origins)
  • Re: European freight yard operations vs US Operations
    ... more or less standard sizes for trade goods, which were sized to be easily handled, which influenced wagon dimensions to provide for a profitable load. ... This of courses determined wheel spacing. ... For that matter, wheel spacing on cars and trucks also varies, though in the last few decades regulations on truck and trailer dimensions have produced what amounts to a standard truck gauge. ...
    (rec.models.railroad)
  • Re: Car 12volt outlet
    ... with a cigarette lighter as standard. ... Info Blue Mountains Railway Pages ... Origin of Standard Gauge ... Because that's the way they built them in England, ...
    (talk.origins)