File: example.php

Recommend this page to a friend!
  Classes of lior  >  Team schedule maker  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file of using the schedule
Class: Team schedule maker
Generate season schedules of games played by teams
Author: By
Last change:
Date: 13 years ago
Size: 280 bytes
 

Contents

Class file image Download
<?php
include("schedule.php");

$s=new schedule();
//number of teams
$s->num=8;
//makes the teams
$s->make_teams();
//makes the history-all the possibilities of the teams(team1 can play against all and so on)
$s->make_history();

//prints the schedule
$s->run();

?>


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