Brion-
Case sensitivity strikes again! In PHP function names are not case sensitive, but variable names are.
Well, that wasn't me. Someone must have thought that a CamelCase variable would look nicer. Time to get some naming conventions, maybe?
Also this is hideous: if(preg_match("/class='new'/i",$getlink)) { break; } # this is a hack, # but it saves time
Dude, read the comment! It's all documented! ;-)
Regards,
Erik