PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Radek Piekarz   Sunset & Sunrise   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Sunset & Sunrise
Calculate the sunrise and sunset time of any place
Author: By
Last change:
Date: 18 years ago
Size: 114 bytes
 

Contents

Class file image Download
<?php
require_once('sun_class.php');

$sun = new sun('50', '21', '1');
$sun->sunrise();
$sun->sunset();
?>