Create follow_up_emails.php
[clinton/MarylandElectronicPetitionSignature.git] / admin / follow_up_emails.php
CommitLineData
c4f9ed02
PM
1<?PHP
2include_once('../email.php');
3$base_message = "I just wanted to take a second and follow up with your visit to md-petition.com and see if you needed anything, or had any questions.";
4
5// USAGE meps_mail('Patrick <baltimorehacker@gmail.com>','','Petition Follow-Up');
6
7$q="SELECT * FROM follow_up, presign, petitions where presign.php_session_id = follow_up.php_session_id and follow_up.petition_id = petitions.petition_id and follow_up.status = 'NEW'";
8
9echo "<li>$q</li>";
10$r = $petition->query($q);
11while($d = mysqli_fetch_array($r)){
12 echo "<pre>";
13 $row = $d;
14 print_r($row);
15 echo "</pre>";
16}
17
18?>