View Single Post
Old 25-02-2008, 21:04   #7 (permalink)
Hunch
Grumpy old man
 
Hunch's Avatar
 
Join Date: Oct 2007
Location: North Japan
Posts: 1,617
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]));
  Reply With Quote