I need to catch the id of each of those hrefs in the code. The "something.php?y=US&id=" is constant so that will not change. The data is in a table, and I can get all of the other information from the table, but I can't pull the id from those links. Any help or suggestions would be greatly appreciated.
1 Year Ago
Related Article:Parse PHP file as XML?
is a solved PHP discussion thread by calebcook that has 2 replies, was last updated 1 year ago and has been tagged with the keywords: php, mysql, xml, parse.
Using preg_match_all to get all href in a tags and then searching for the right pattern, the constant, I set "id=" as constant in the explode() function but you can set also explode('something.php?y=US&id=',$id); if you want and you will get the same result: