Re: Problem in the returnvalue of a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux