Hi all, I'm trying to calculate the subtotal of items in my database. It's doesn't seem to be working. Any help would be appreciated as always.
PHP Code:function dupSub(){
while ($rows=mysql_fetch_array($prods)){
$price = $rows['product_price'];
$counter++;
}
echo $counter;
}










Bookmarks