Re: HELP!! how can arithmetic variables(string) ??

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

 



On 10/18/07, LKSunny <ad@xxxxxxxx> wrote:
>
> <?
> $a="1+1"; //variables(string)
>
> //how can arithmetic variables(string) ??
> //N ROW................
>
> //output
> echo $a //i need output "2" not "1+1"
> //Please Help, Thank You Very Much !!
> ?>


$a = 1+1;
echo $a;

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux