New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Something like:
Have you looked at the PHP JSON functions?
http://www.php.net/manual/en/ref.json.php
json_decode is what you'll want to use.
When you do the decode, it turns it into a PHP array that you can easily work with
Francisco
Hmm..
I have got the data cURL'd on my page, now how do i format / parse it :P
http://93.104.215.18/friends/ is the data :P
you can just like:
$crank = json_decode(trim(file_get_contents("some_url")), true);
print_r($crank);
Francisco
@Francisco : Still looks kinda messy
http://93.104.215.18/friends/
The print_r is just to show you how it parsed it.
You need to now echo/format the data in the array :P
Francisco
@Francisco : You rock bro !! I got it to work atlast made a array and it worked !!