Possible Duplicate:
How to parse and process HTML with PHP?
I have the following HTML:
<Text><strong>Cancellation</strong>
A cancellation is free of charge possible until 6PM on arrival day. With later cancellation or no arrivals without previous cancellation the hotel is justified to place 90% of the booked achievements (excl. breakfast) in calculation whereby the amount at a value of USD 500.00 is not exceeded.
<strong>Check-in time</strong>
Starting from 15:00
<strong>Check-out time</strong>
Until 12:00
<strong>Guarantee</strong>
No guarantee required.</Text>
and I want to parse it and store in an array for example like this:
array(
'Cancelation' => 'A cancellation is free of charge possible until 6PM on arrival day. With later cancellation or no arrivals without previous cancellation the hotel is justified to place 90% of the booked achievements (excl. breakfast) in calculation whereby the amount at a value of USD 500.00 is not exceeded.',
'Check-in time' => 'Starting from 15:00',
'Check-out time' => 'Until 12:00',
'Guarantee' => 'No guarantee required.'
);
Thank you for the hints in advance.