LKSunny 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 !!
?
You can do:
eval(echo $a;);
But be warned, this has Injection Attack written all over
Thank You !
Colin Guthrie [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED]
LKSunny 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 !!
?
You can do:
Colin Guthrie wrote:
LKSunny 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 !!
?
You can do:
eval(echo $a;);
you realise Sunny stopped reading
On 10/18/07, Jochem Maas [EMAIL PROTECTED] wrote:
Colin Guthrie wrote:
LKSunny 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 !!
?
You
4 matches
Mail list logo