This is my current code for grabbing some link and image HTML from an off-site link:
<?php
$html = file_get_contents("http://neopets.com/gameroom.phtml");
preg_match("/<a href='\/games\/(.*)>/<img src=(.*) width=100 height=100 border=0>/<\/a>/i", $html, $match);
echo $match[0];
echo $match[1];
?>
Error:
Warning: preg_match(): Unknown modifier '<'
Thanks for any help.