Multiplying
Posted: Tue Apr 01, 2008 8:56 pm
Hey guys, I need some help multiplying some numbers.
What I want to do is multiple 5 x $A$B so if $A=50 and $B=1 php would multiply 5x501
This is the code that I am currently using but is not working.
What I want to do is multiple 5 x $A$B so if $A=50 and $B=1 php would multiply 5x501
This is the code that I am currently using but is not working.
<?php
$A = 1;
$B = 2;
$C = 4;
$D = 2;
$Day = 1;
$Month = 4;
$Year = 8;
$pin = '$B, $A';
$DayTotal = $Day + $Month + $Year;
$tin = 5 * $A,$B ;
print ($tin);
?>