Hi, I am moving an old site and database from php 5 to 7 and have created a connection to the new db in mysql. I am now encountering this error:
$
Warning : A non-numeric value encountered in /usr/home/buyer.com/pages/gold3.php on line 265
this is the line:
<td align="right" bgcolor="#333333" data-mft-header="PER PENNY WEIGHT (DWT)">$<?php echo number_format (($GoldPrices->getColumnVal('price') * $GoldPrices->getColumnVal('rate') * 0.0208), 2) ; ?></td>
Does this indicate that the column for price is in the wrong format? This is the value in that column: 1910.00