I'm having the trouble of assigning decimal points, when i want to display the price of my product in the table in one of my php pages. Using number_format solves the problem when i want to display in the normal version, but when i want to display in a numeric array type, i don't know how to make the queried value into decimal points.
Any ideas? the data is stored as a float value, and the column price from menurecords is displayed as; how to input a decimal value here?
echo "<td align='center'><font color='#FFFFFF'>".$row[2]."</font></td>";