php question
php question
Out of context: Reply #5
- Started
- Last post
- 5 Responses
- neverblink0
if(0 < $rsOptionvalue[$k]->fPrice){
// step 1; get Price (remove space before [$k])
$price = number_format($rsOptionvalue [$k]->fPrice, 2);
// step 2; add Price/10
$price = $price . " + (" . $price . "/10)";
// step 3; add currency
$price = CONST_CURRENCY . $price;
}