Im trying to grab the destination (dynamic) of a link (static) with php
Im not sure what the best way to do this is.
the link is
<a href=page.php?XXYYYYYYY>LinkName</a>
the X's are letters and the Y's are numbers (both can vary in length). 'Linkname' always stays the same though.
Is regex the best option here? Or is there a better way?