Hello,
I am neew in PHP but try resolve my problem but I don"t know how to.
Is here someone who can help me parse price in below link:
Thanks for all help!
I am neew in PHP but try resolve my problem but I don"t know how to.
Is here someone who can help me parse price in below link:
Code:
[COLOR=#000000][FONT=courier new]<?php[/FONT][/COLOR]
[COLOR=#000000][FONT=courier new]preg_match_all("/Price<\/td><td class\=\"price\">([0-9\.]*?)<\/td/si",file_get_contents('[/FONT][/COLOR]informers.mt5.com/en/quotes_online/informer/sz=540_20&ticker=NZDCHF[COLOR=#000000][FONT=courier new]'), $result);[/FONT][/COLOR]
[COLOR=#000000][FONT=courier new]echo "Price: ";[/FONT][/COLOR]
[COLOR=#000000][FONT=courier new]echo $result[1][0];[/FONT][/COLOR]
[COLOR=#000000][FONT=courier new]?>
[/FONT][/COLOR]
Thanks for all help!