Here:
PHP Code:
while($row = mysql_fetch_array($result1))
{
echo 'The original property price £' . number_format($row['propertyprice'],2);
$price = $row['propertyprice'];
echo "<br />";
}
mysql_fetch_array() returns a normal array, not an associative array. i.e. if you use mysql_fetch_array, you must get data by $row[0], $row[1]... Otherwise, you need to use mysql_fetch_assoc(), it returns an associative array so I think it will work.