Commit | Line | Data |
---|---|---|
c4f9ed02 PM |
1 | <?PHP |
2 | include_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 | ||
9 | echo "<li>$q</li>"; | |
10 | $r = $petition->query($q); | |
11 | while($d = mysqli_fetch_array($r)){ | |
12 | echo "<pre>"; | |
13 | $row = $d; | |
14 | print_r($row); | |
15 | echo "</pre>"; | |
16 | } | |
17 | ||
18 | ?> |