how to multiply two rows mysql php
<p>This code show simple result how to multiply two rows </p>

<p>Example  30 days multiply by 400 salary.
So how can I do this please help me to fix this issue.</p>

<pre><code> &lt;?php
    while ($runrows = mysql_fetch_assoc($run))
    {

     //get data
    $workerid = $runrows['workerid'];
    $keywords = $runrows['workername'];
    $salary = $runrows['salary'];
    $days = $runrows['days'];

    echo "&lt;table  class='hovertable' width='100%'&gt;";

    echo "&lt;tr width='50%' onmouseover=\"this.style.backgroundColor='#999999';\" onmouseout=\"this.style.backgroundColor='#d4e3e5';\"&gt;&lt;td width='20%'&gt;&lt;a href=\"workerdetail.php?id=$id\" class=\"style1\"&gt;$workerid&lt;/a&gt;&lt;/td&gt;
    &lt;td width='20%'&gt;$workername&lt;/td&gt;
    &lt;td width='20%'&gt;$salary&lt;/td&gt;
    &lt;td width='20%'&gt;$days&lt;/td&gt;

    echo "&lt;/table&gt;";
    }

    }
    }

?&gt;
</code></pre>
