lundi 23 février 2015

HTML Parsing in PHP


I have a code



echo 'File Date: '. "$file_date<br>";
preg_match('/Instrument Type<\/u><\/font><br \/><b>(.*)<\/td>/', $html, $matches);
$instrument_type = $matches[1];
echo '<div>
<h3><a href="#">First</a></h3>
<div>Lorem ipsum dolor sit amet.</div>
</div>
<div>';


But id did't parsing html and shows as it is.


Its result can be views here http://ift.tt/1a5gkJi





Aucun commentaire:

Enregistrer un commentaire