I am using a text file of software names to populate a mysql database up I don't know how to parse out the different software names so that I can separate them in the database. So far I have
$data = file(file location and name);
and that opens the file but I don't know what to do next .
sample of the textfile
Software Licenses
Microsoft - Internet Explorer 51873-OEM-0045023-09153
Microsoft - MediaPlayer 53199-446-7165547-04312
Microsoft - MS Office 97 Professional 77777-OEM-7777777-77777
Microsoft - Windows 2000 Professional 51873-OEM-0045023-09153
Software Versions
Adobe Acrobat Reader Version 5.0.0.0
Ahead Software AG Karlsbad Germany Phone: ++49-7248-911-800 Fax:
ahead software gmbh im stoeckmaedle 6 76307 karlsbad, germany Fax:
++49-7248-911-888 e-mail: info@ahead.de - Nero Security Service
Version 1.0
ahead software gmbh, karlsbad - Cover Designer Version 2, 1, 0, 8
AUTOSCRP Application Version 1, 0, 0, 1
BALANCES Version 1.00
Banner Blue Software Incorporated - Microsoft Organization Chart
Version 2,0,0,1016
Belarc Advisor and BelLive - Belarc's Content Personalization with
Privac
Any Help would be greatly appricated.