Re: php codes for the following pls ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks for the code ..
 :)




________________________________
From: Davide Baglieri <davidonzo@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Thursday, June 18, 2009 5:14:56 PM
Subject: Re:  php codes for the following pls ..





function isLeapYear($ year){
if(checkdate( 2,29,$year) ){
return $year.' is a leap year';
}else{
return $year.' is not a leap year';
}
}

On Thu, Jun 18, 2009 at 5:51 AM, suhasini<ammana2@yahoo. co.in> wrote:
>
>
> hii
> ur first question is print even numberss..am i right?
> u can do something like this
> <?php
> $i =2;
> while($i < =10)
> {
>   echo "$i";
>  $i= $i + 2;
> }
> ?>
>
> Thanks & Regards
> Suhasini
>
> --- On Thu, 18/6/09, ellamae.luyun <ellamae.luyun@ yahoo.com> wrote:
>
> From: ellamae.luyun <ellamae.luyun@ yahoo.com>
> Subject:  php codes for the following pls ..
> To: php-objects@ yahoogroups. com
> Date: Thursday, 18 June, 2009, 5:38 AM
>
> what is the syntax/ code to this problems:
>
> 1) 2, 4, 6, 8, 10
>
> 2) 2006 is not a leap year
>
> 2008 is a leap year
>
> 3) if you input, age is 18 then the output should be "your a debutant"
>
> if you input, age is 17 then the output should be "your a minor"
>
> if you input, age is 25 then the output should be "your an adult"
>
>
>
>
>
>
>
>
>
>
>
> Love Cricket? Check out live scores, photos, video highlights and more.
> Click here http://cricket. yahoo.com
>
> [Non-text portions of this message have been removed]
>
> 




      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux