Code: Select all
$a=testme(08,09);
echo $a;
function testme($a,$b){
$c=$a+$b;
return $c;
}
but if u change the input to 9 and 8 or 01 to 07 instead of 09 and 08 the correct out put will be produce..
so what am i doing wrong here.. is it my apache or ??? and why does function convert number from 01 to 1 or 03 to 3 . how do i maintain the 01 and 02 when passing the data to function.. cause im doing a query with those value.. so 1 is different from 01 when you do a select statement..