From c4f988879356b3f5d54e6ef189e907540629c827 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sun, 17 Feb 2013 03:00:27 -0800 Subject: Map names --- ajax/maps.ajax.php | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'ajax') diff --git a/ajax/maps.ajax.php b/ajax/maps.ajax.php index a5d72f2..31c041c 100644 --- a/ajax/maps.ajax.php +++ b/ajax/maps.ajax.php @@ -1,16 +1,16 @@ 0) { + list($code, $name) = mysql_fetch_row($result); + $map = new map($code, $mapID); + $map->name = $name; + //$map->name = "bobs"; + return $map; + } +} + + + + ?> \ No newline at end of file -- cgit v1.2.3