i have some dynamic link like this
<a href="names.php?action=names&name=1">jehan</a>
<a href="names.php?action=names&name=2">roy</a>
I want to extract just jehan and roy from those links.I have tried this
preg_match_all("'(.*?)</a>'", $check, $match);
I have no idea how to do this properly :(