Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /www/mapplo/htdocs/clases/BD.php on line 20

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /www/mapplo/htdocs/clases/BD.php on line 21

Warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /www/mapplo/htdocs/clases/BD.php on line 66

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /www/mapplo/htdocs/clases/BD.php on line 25

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /www/mapplo/htdocs/clases/BD.php on line 20

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /www/mapplo/htdocs/clases/BD.php on line 21

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /www/mapplo/htdocs/clases/BD.php on line 30

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /www/mapplo/htdocs/clases/BD.php on line 30
SELECT * FROM lugares INNER JOIN barrios ON l_bID = bId INNER JOIN calles ON l_cId = cId INNER JOIN rubros ON L_rId = rId WHERE lNombreFriendly = ''