Quote:
|
Originally Posted by HaXXor's
You should use OOP if you are using PHP.
|
I fucking hate it when people who don't have a clue just spout random useless shit.
Quote:
|
Originally Posted by datahound
Thanks. I have the loop. It is this bit that does not work?
$UKPostCodes = array ('$myrow[PostCode]' => array('$myrow[Lat]','$myrow[Long]'));
|
Remove all the single quotes from the line and it'll work.
$UKPostCodes = array($myrow[PostCode]=>array($myrow[Lat],$myrow[Long]));