![]() |
This is very easy to do using SimpleXML: |
<?php
$a = new SimpleXMLElement('<a href="www.something.com">Click here</a>');
echo $a['href']; // will echo www.something.com
?>
Category
: |
Web Tutorial |
Sub Category
: |
PHP XML Tutorial |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference