Krishnadas PC

Kerala

Sharing the little what I know to the world!

<?php
include_once 'life.php';
$obj=new life();
$girlFriend=0;

if($obj->money()>0 &&$obj->handsome())
{
$girlFriend++;
echo 'You are not alone';
}
else if($obj->money() >0&& $obj->NotHandsome())
{
$girlFriend++;
echo 'You are not alone';
}
else if($obj->money()==0)
{
$girlFriend=0;
echo 'You will be always alone';
}
else
{
$girlFriend=0;
$TrueFirend='Look at a mirror';
}
?>