I came up with:
CODE
$url = file_get_contents( 'http://www.carfax.com/cfm/check_order.cfm?vin=' . $_GET['vin'] . '&partner=UNK_1_DEC_31&zipcode=&ClickID=&SiteID=&suggest=N&FID=&PopUpStatus=0' );
$array = explode( '<b>Year/Make/Model:</b>', $url );
$array2 = explode( '<b>Manu', $array[1] );
$replace = array( '<font face="Courier New, Courier, mono" size="2">', '<tr>', '<td align="left" valign="middle">', '</td>', '</font>', '<td width="150" align="left" valign="middle">', '<tr bgcolor="#E3E3E3">' );
$replaced = str_replace( $replace, '', $array2[0] );
$break = explode( '</tr>', $replaced );
echo trim( $break[0] );
$array = explode( '<b>Year/Make/Model:</b>', $url );
$array2 = explode( '<b>Manu', $array[1] );
$replace = array( '<font face="Courier New, Courier, mono" size="2">', '<tr>', '<td align="left" valign="middle">', '</td>', '</font>', '<td width="150" align="left" valign="middle">', '<tr bgcolor="#E3E3E3">' );
$replaced = str_replace( $replace, '', $array2[0] );
$break = explode( '</tr>', $replaced );
echo trim( $break[0] );
I was wondering, is there a more effecient way to doing this? I'm thinking using preg_replace or something I could get just what I need, instead of stripping everything I don't..but I'm not too familiar with this.