Forum Moderators: coopster
preg_match_all("/(.*)=\"(.*)\"/", $data, $matches);
So if $data is <story id="1805952" comments="0" status="upcoming"> then $matches should be id=>1805952,comments=>0,status=>upcoming
The code I posted doesn't seem to work well, any ideas?
Thanks in advance :-)