【发布时间】:2015-01-05 21:53:22
【问题描述】:
我遇到了字符串问题。 我使用 file_get_contents($url) 来获取网站的内容。
$content = tile_get_contents($url);
$arrTmp = explode('>',$content);
var_dump (trim( $arrTmp[100]) ) => result is: string '<td width="33.3333333333%" valign="top"'
echo trim( $arrTmp[100]); => nothing.
提前致谢!
【问题讨论】: