PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Vinicius Marques de Souza   PHP Health Check   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Health Check
Calculate factors to check a person's health
Author: By
Last change:
Date: 1 year ago
Size: 302 bytes
 

Contents

Class file image Download
<?php

require_once("health.class.php");

$h=new Health();

$h->age=46;
$h->gender="male";
$h->height=168;
$h->weight=80;

$h->activity=1.2;

$h->triceps=6;
$h->chest=9;
$h->subscapular=13;
$h->midaxillary=9;
$h->suprailiac=8;
$h->abdominal=15;
$h->thigh=11;

$data=$h->getdata();
print_r($data);


?>