• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Post your ctrl+v

PHP:
<?php
class disease {
public function std($type){
$s['hiv'] = false;
$s['herpes'] = false;
$s['clamidia'] = true;
return $s;
}
public function cure_check($type){
$cure = $this->std($type);
if($cure == true)
return 'You\'re in luck, there is a cure';
else
return 'No, no cure, you\'re ----ed';
}
}
$std_check = new disease;
echo $std_check->cure_check('hiv');
?>
 
Back
Top