that means the result is not right,
it happen when your query is failed,check your query,
mysql_error() can help
Ruprecht Helms writes:
Hi Bayu Susiloadhy,
thanks for your answer.
function select_price($product_id,$quantity) {
--cut--
return True;
}
--cut--
in the meentime
Hi Bayu Susiloadhy,
thanks for your answer.
>> function select_price($product_id,$quantity) {
> --cut--
>> return True;
>>}
> --cut--
in the meentime I change the code that not a boolevalue
was returned by the function.
$q is my querystring and $db is the selected database.
I ins
Ruprecht Helms writes:
function select_price($product_id,$quantity) {
--cut--
return True;
}
--cut--
$price=$ps_product_price->select_price($cart[$i]["product_id"],$cart[$i]["quanti
ty"]);
//printf("%.2f", $price["product_price"]);
printf("%.2f",$price);
you set the s