I meet a trouble with string. I use file_get_contents($url) to get content of a website.
$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.
Thanks in advance!
your sample seems to be incomplete
you define $arr
where does $arrTmp comes from?
what is $i? is it defined?
whats between the var_dump and echo?
and whats the purpose of this Action?
EDIT: just tested:
result:
and so on ...
maybe a server-setup-issue? but i have no idea what it could be at your side ...