$results = array('OK', 'TERMSTEXT', 'SERVICE', 'ERROR'); //the headers the api will return
$text = 'OK: id TERMSTEXT: string.... with stuff like bla: :: info hehe, this api sucks SERVICE: info'; //example return by the api
I need to split each item into it’s keyed counter part. Hopefully a fresh pair of eyes will be able to help me on this one.