Re: Problem in the returnvalue of a function
| From: | Bayu Susiloadhy | Date: | Mon, 20 Jan 2003 12:29:28 +0000 |
| Subject: | Re: Problem in the returnvalue of a function | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24978@lists.php.net to get a copy of this message | ||
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 select_price function to return true instead of selected price
--
STOP doing things that
the computer can does!
--
&$BS