thecontractor
New Member
I am using an api to retrieve data from another server the data returned is something like this:\[code\]accountid=10110 type=prem servertime=1263752255 validuntil=1266163393 username= curfiles=11 curspace=188374868 bodkb=5000000 premkbleft=24875313\[/code\]This is a whole string I need two values out of whole string, I am currently using preg_match to get it, but just to learn more and improve my coding is there any other way or function in which all values are automatically convert to array?Thank You.