Jump to content

[SOLVED] data change


siclines

Recommended Posts

So I have a table with data in it, but I want to change the value by multiplying it. So here is the code showing the data in the table:

 

  echo "<td width='100' align='center'>" . $row[value* 3.2] . "</td>";

 

The value is 1.1 and the output from the code above is 837 when it should be 3.52, what am I doing wrong?

 

Thanks for your help

Link to comment
https://forums.phpfreaks.com/topic/157099-solved-data-change/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.