i have a bot for daily match. But i can't figure out how it will be exactly replace tags, for example i have data like this;
{"id":"45961","title":"Independien - Sporting Cri","type":"1","flag":"tr","date":"2017-03-17 03:45:00","date":"03\/17\/2017 04:32:55","live":"1"},{"id":"45962","title":"Independien - Sporting Cri","type":"1","flag":"tr","date":"2017-03-17 03:45:00","date":"03\/17\/2017 04:32:55","live":"1"}
Code:
$connect = sanitize_output(connect("h****"));
preg_match_all('@{"id":"(.*?)","title":"(.*?)","type":"(.*?)","flag":"(.*?)","time":"(.*?)","time":"(.*?)","live":"(.*?)"}@si',$connect,$football_t);
$id=$football_t[0][0];
$title=$football_t[0][1];
vs.
With this use i can't select datas, I want to do table with foreach but i can't figure out how it will be.