Code: Select all
echo("Easting test: ".$accommodation["EASTING"]." and ".$easting[$row_num]);
$accommodation is a mysql_fetch_array, with EASTING being a field within it.
$row_num is increasing each time the mysql_fetch_array passes through, using ++;
The output I get is as follows:
Easting test: 369234 and 3
Now am I completely loosing it, or should the two numbers not be the same?
It would seem when assigning the value to the array $easting, it only takes the first digit. Is this a fault, a problem with my code, or just one of those things?!?