<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Marolijo - Pol maresma ha scritto:
<blockquote cite="mid:20080108095126.3CB983C19E@fraxinus.osuosl.org"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.6000.16587" name="GENERATOR">
  <div><span class="359554309-08012008"><font face="Arial" size="2">Hello,
from a computed field I wanna to a typical bill-line calculation doing
a multiplication </font></span></div>
  <div><span class="359554309-08012008"><font face="Arial" size="2">price
= quantity * fk_product_price</font></span></div>
  <div><span class="359554309-08012008"></span> </div>
  <div><span class="359554309-08012008"><font face="Arial" size="2">How
can I do that? I tried wihout luck.</font></span></div>
  <div><span class="359554309-08012008"></span> </div>
  <div><span class="359554309-08012008"><font face="Arial" size="2">$node_field[0]['value']
= $node-&gt;field_quantitat[0]['value'] * </font></span><span
 class="359554309-08012008"><font face="Arial" size="2">$node-&gt;<span
 class="359554309-08012008"><font face="Times New Roman" size="3">field_fk_producte</font></span>[0]['value']......;</font></span></div>
  <div><span class="359554309-08012008"></span> </div>
  <div><span class="359554309-08012008"></span> </div>
  <div><span class="359554309-08012008"><font face="Arial" size="2">Thank's!</font></span></div>
  <div><span class="359554309-08012008"></span> </div>
</blockquote>
Exec "print_r($node)". Are there present <font color="#0000ff"
 face="Arial" size="2">field_quantitat</font> and <font color="#0000ff"
 face="Arial" size="2">field_fk_producte</font> ?<br>
<br>
What is fk_* ?<br>
<br>
M.<br>
<br>
<pre class="moz-signature" cols="72">-- 
Michel 'ZioBudda' Morelli                       <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobudda.net">michel@ziobudda.net</a>
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

<a class="moz-txt-link-freetext" href="http://www.ziobudda.net">http://www.ziobudda.net</a>                         ICQ: 58351764  
<a class="moz-txt-link-freetext" href="http://www.ziobuddalabs.it">http://www.ziobuddalabs.it</a>                      Skype: zio_budda
<a class="moz-txt-link-freetext" href="http://www.ajaxblog.it">http://www.ajaxblog.it</a>                                MSN: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>                   
                                                JABBER: <a class="moz-txt-link-abbreviated" href="mailto:michel@gmail.com">michel@gmail.com</a>
</pre>
</body>
</html>