Howdy... 😉
I have this string...
&link0=google&url0=http://www.google.com&count0=0&
&link1=yahoo&url1=http://www.yahoo.com&count1=11&
&link2=realitydesigns&url2=http://www.realitydesigns.co.uk&count2=12&
&link3=actionscript.org&url3=http://www.actionscript.org&count3=13&
&link4=kirupa&url4=http://www.kirupa.com&count4=14&
and I am using this RE to check if the match has been established...
$link = "google";
// $line being one line of the previous lines in the code tag that has been processed via foreach() loop...
if (preg_match('/link(\d+)='.$link.'(.*?)count(\d*)?=(\d+)&/i', $line, $match))
Can somebody tell me if I am using the right RE within preg_match() function for that???
Thank you... 😉