PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Oct 15, 2018 9:05 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Aug 20, 2011 7:25 am 
Offline
Forum Newbie

Joined: Sat Aug 20, 2011 7:22 am
Posts: 1
Hi there guys,
I need a script that will:

Go to: http://stats.villavu.com/api/user/$USERID (The person will go to: http://mywebsite.com/$USERID)
(Example: http://stats.villavu.com/api/user/2)

Then on the page will have a drop down box to choose a maximum of 8 of the variables (eg. Total Levels Gained)

3 Default Variables are:
Rank, User and Time.

Then all of this information must be displayed on a PHP image.
The background: http://i.imgur.com/tAnl8.png


Thank you.


Top
 Profile  
 
PostPosted: Sat Aug 20, 2011 12:37 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13580
Location: New York, NY, US
Use the cURL library to fetch the data from that site. Use the JSON library to convert the data into a PHP variable. Generate the <select> from the data. See the docs for details.

_________________
(#10850)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group