PHP Classes

File: contents/apps/t-rex/src/ar/top-score.php

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   contents/apps/t-rex/src/ar/top-score.php   Download  
File: contents/apps/t-rex/src/ar/top-score.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Lobby
Web OS to install and run Web applications
Author: By
Last change:
Date: 7 years ago
Size: 134 bytes
 

Contents

Class file image Download
<?php
$scores
= $this->data->getArray("highscores");

if(empty(
$scores)){
  echo
"0";
}else{
 
rsort($scores);
  echo
$scores[0];
}
?>