"Sam" <sa******@gmail.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
>
ZeldorBlat wrote:
Sam wrote:
hi all,
>
how can i take this data and create an array? i have no idea where to
start.
This would be a good place to start:
<http://www.php.net/manual/en/language.types.array.php>
i should have been more specific, i meant i have data in that format,
how can i get that into an array.
errr... how about
:
$samsarray = array("Freq"=>"3",Count"=>"3",...);
perhaps you were really asking "how can I extract data from this other
data"?
you can use str functions to mess with stuff like that, fer instance you
might search for a token with
http://us3.php.net/manual/en/function.strpos.php
then another token and then get the bit between them
maybe do that again then put them 2 in the array. repeat rinse wash