Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get the value of href in anchar tag php

$a = new SimpleXMLElement('<a href="www.something.com">Click here</a>');
echo $a['href']; //it will echo www.something.com
 
PREVIOUS NEXT
Tagged: #href #anchar #tag #php
ADD COMMENT
Topic
Name
3+8 =