Hi,
Someone helped me to create a table with data from mysql server db.
The problem is that in one column data is shown like 9016.8800048828. How to change coe the have only one decimal for this value?
Here is part of the code:
//read data of each row
while ($row=$result->fetch_assoc()) {
echo "
<tr>
<td>$row[loc_id]</td>
<td>$row[loc_name]</td>
<td>$row[description]</td>
<td>$row[Inventory]</td>
</tr>
";
}
?>
Thank you for your help
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.