Ver Mensaje Individual
  #6 (permalink)  
Antiguo 13/01/2006, 13:32
Avatar de Seppo
Seppo
 
Fecha de Ingreso: marzo-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 1 mes
Puntos: 17
mmm
parece q tiene un bug, pero probando con el otro método q propone la clase funciona

Código PHP:
$from=$HTTP_POST_VARS["de"];
$to=$HTTP_POST_VARS["a"];
$amt=$HTTP_POST_VARS["cantidad"];
$curr=new CURRENCYCONVERTER();
echo 
"$amt $from = ".$curr->convert($amt,$to,$from)." $to"