cvs: pearweb /public_html/map index.php
| From: | Arnaud Limbourg | Date: | Mon, 11 Dec 2006 21:09:55 +0000 |
| Subject: | cvs: pearweb /public_html/map index.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5251@lists.php.net to get a copy of this message | ||
arnaud Mon Dec 11 21:09:55 2006 UTC
Modified files:
/pearweb/public_html/map index.php
Log:
wrong sql query
http://cvs.php.net/viewvc.cgi/pearweb/public_html/map/index.php?r1=1.2&r2=1.3&diff_format=u
Index: pearweb/public_html/map/index.php
diff -u pearweb/public_html/map/index.php:1.2 pearweb/public_html/map/index.php:1.3
--- pearweb/public_html/map/index.php:1.2 Mon Dec 11 20:59:17 2006
+++ pearweb/public_html/map/index.php Mon Dec 11 21:09:55 2006
@@ -16,7 +16,7 @@
* @author David Coallier <davidc@php.net>
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: index.php,v 1.2 2006/12/11 20:59:17 arnaud Exp $
+ * @version $Id: index.php,v 1.3 2006/12/11 21:09:55 arnaud Exp $
*/
$map = '
<script language="javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjPqDvnoTwt1l2d9kE7aeSRSaX3uuPis-gsi6PocQln0mfq-TehSSt5OZ9q0OyzKSOAfNu8NuLlNgWA"></script>
@@ -107,6 +107,8 @@
$sql = "
SELECT latitude, longitude, handle, homepage, email
FROM users
+ WHERE latitude <> ''
+ AND longitude <> ''
";
$infos = $dbh->getAll($sql);