hello everybody, i have a problem and i think someone of you could solve it.

i have this line of code

Code:
$price2 =$row['price'] * $quantity;
echo $price2;
echo gives me : 200(price)3(quantity) like 2003 and not 600 as i want...

$row['price'] is from my database (varchar column, tried with int column)
and quantity is

$_SESSION["products"] as $product => $quantity

i tried these:

Code:
(int)$price2 =$row['price'] * $quantity;
echo $price2;

$price2 =(int)$row['price'] * (int)$quantity;
echo $price2;


(int)$price2 =(int)$row['price'] * (int)$quantity;
echo (int)$price2;
none worked for me... can anyone help me?