I have a php code and database. From the kurs table I need to take one value. And this value should be multiplied to variables. I was able to pull out the cell that I need. But could not perform the desired arithmetic operation.
<?php $sdd_db_host='localhost'; $sdd_db_name='mybase'; $sdd_db_user='admin'; $sdd_db_pass='qwerty'; @mysql_connect($sdd_db_host,$sdd_db_user,$sdd_db_pass); @mysql_select_db($sdd_db_name); $result=mysql_query("SELECT * FROM kurs where id=1"); while($row=mysql_fetch_array($result)) { echo '<td width="85"><div align="center">'.$row[Продажа].'</div></td>'; } ?>