The first thing I tryed to do was find out 1% off a given total.
Code: Select all
<?
$total = "200";
$p1 = "$total / 100";
echo "$p1"
?>Any help would me nice. just so I can get this started thanks
Moderator: General Moderators
Code: Select all
<?
$total = "200";
$p1 = "$total / 100";
echo "$p1"
?>Code: Select all
$total = 200;
$p1 = $total/100;
echo $p1;Code: Select all
$total = '200';
$p1 = $total / 100;
echo $p1;