PHP Classes

File: Example2.php

Recommend this page to a friend!
  Classes of Matthew Johnston  >  PSN Trophy Data  >  Example2.php  >  Download  
File: Example2.php
Role: Example script
Content type: text/plain
Description: Example 2
Class: PSN Trophy Data
Retrieve PlayStation network trophy data
Author: By
Last change:
Date: 12 years ago
Size: 336 bytes


Class file image Download
include 'class.psn.php';
$psn = new PSNCard('xnowandtheworldx', true);
'Latest game played: ' . $psn->gameList->game[0]['title'] . '<br/>';
'Game image: <img src="' . $psn->gameList->game[0]['image'] . '"/><br/>';
'Game trophy URL: <a href="' . $psn->gameList->game[0]['trophy_url'] . '">TROPHY URL</a>';

For more information send a message to info at phpclasses dot org.