An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.
<?php $latititude = 23.155177; $longitude = 23.378906; $range_in_feet = 400; //======================================== $params = calculations go here and conversions to make the parameters work. //======================================== $sql = "SELECT lat, long FROM table WHERE ' . $params . ' AND datetimestamp BETWEEN '2012-02-03' AND '2012-02-04';"; $results = mysql_query($sql); var_dump($results); ?>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.