php multiplication

i am new…i have a question that how could i perform multiplication on my database fields…i mean i am passing a value from my html page and i want it to get multiplied with one of the database fields…

i am passing amount and i want it to get multiplied with my database field “price”??
plz help me out…

same way any other language does it.
[php]
//Example
$number1 = 3;
$number2 = 5;
$add = $number1+$number2;
$sub = $number1-$number2;
$div = $number1/$number2;
$multi = $number1*$number2;
[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service