ok i've removed the function out of the script and included the db function and i now get the following errors on my debugger:
<br />
<b>Notice</b>: Undefined variable: 2 in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL3 6JH in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL1 5NQ in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL3 7LX in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL1 5HW in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL3 7JG in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL3 7LL in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL1 5QD in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined variable: DL3 7AQ in <b>/home/unn_p921847/public_html/test/map_data.php</b> on line <b>19</b><br />
var markers
markers =[{ 'lng': -1.55736, 'lat': 54.5269, 'name': 2, 'address': 2<br>2<br>2<br>2<br>, 'phone': 2}, { 'lng': -1.55736, 'lat': 54.5269, 'name': Aruba, 'address': 12<br>King St<br>Darlington<br>County Durham<br>, 'phone': 1325},
{ 'lng': -1.55736, 'lat': 54.5234, 'name': Berlins, 'address': 0<br>Grange Rd<br>Darlington<br>County Durham<br>, 'phone': 1325}, { 'lng': -1.55736, 'lat': 54.5239, 'name': Flares, 'address': 82<br>Skinnergate<br>Darlington<br>County Durham<br>, 'phone': 1325},
{ 'lng': -1.55736, 'lat': 54.5236, 'name': Humphrys, 'address': 0<br>Blackwellgate<br>Darlington<br>County Durham<br>, 'phone': 1325}, { 'lng': -1.55736, 'lat': 54.5263, 'name': The Turks Head, 'address': 21<br>Bondgate<br>Darlington<br>County Durham<br>, 'phone': 1325},
{ 'lng': -1.55736, 'lat': 54.5254, 'name': Tanners Hall, 'address': 63<br>Skinnergate<br>Darlington<br>County Durham<br>, 'phone': 0}, { 'lng': -1.55355, 'lat': 54.5246, 'name': The Boot And Shoe, 'address': 0<br>Church Row<br>Darlington<br>County Durham<br>, 'phone': 1325},
{ 'lng': -1.56079, 'lat': 54.5256, 'name': Atlantic, 'address': 23<br>Duke Street<br>Darlington<br>Co. Durham<br>, 'phone': 1325}];
are these notices superficial because at first glance, the outputted data is spot on? if so, then how do i remove these notices gracefully so they don't interfere with the debugger?
much thanks