php - Proximity search, Sending Email to a few receiver -


i have emails , street addresses stored in mysql database. want use php run proximity/geospatial search , send email results within given radius.

i can email/addresses in foreach loop, don't know how send email results within query result.

my code this:

foreach ($ergebnis $eintrag) {             echo '<li><strong>' . htmlentities($eintrag->name) . '</strong><br />' . "\n";             echo htmlentities($eintrag->email) . '<br />' . "\n";             echo htmlentities($eintrag->strasse) . '<br />' . "\n";             echo htmlentities($eintrag->plz) . ' ' . htmlentities($eintrag->ort) . '<br />' . "\n";             if (!empty($eintrag->website)) {                 echo 'website: <a href="' . $eintrag->website . '">' . htmlentities($eintrag->website) . '</a><br />' . "\n";                } 

thank much!


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -