I'm trying to follow the article Creating a Store Locator with PHP, MySQL & Google Maps by Pamela Fox and I can't get past these errors when using
<? $username="username"; $password="password"; $database="username-databaseName"; ?> Errors are: Notice: Undefined index: vendor_lat in C:\inetpub\wwwroot\WeddingDir \phpsqlsearch_genxml.php on line 5 Notice: Undefined index: vendor_lng in C:\inetpub\wwwroot\WeddingDir \phpsqlsearch_genxml.php on line 6 Notice: Undefined index: radius in C:\inetpub\wwwroot\WeddingDir \phpsqlsearch_genxml.php on line 7 Notice: Use of undefined constant localhost - assumed 'localhost' in C: \inetpub\wwwroot\WeddingDir\phpsqlsearch_genxml.php on line 15 Notice: Undefined variable: username in C:\inetpub\wwwroot\WeddingDir \phpsqlsearch_genxml.php on line 15 Notice: Undefined variable: password in C:\inetpub\wwwroot\WeddingDir \phpsqlsearch_genxml.php on line 15 Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\inetpub\wwwroot \WeddingDir\phpsqlsearch_genxml.php on line 15 Not connected : Access denied for user 'ODBC'@'localhost' (using password: NO) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
