From fbfd3aa613eee8fbb6b11183734be3257246dcae Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Sat, 25 Jul 2020 17:21:49 -0400 Subject: [PATCH] Update soft_copy.php --- soft_copy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/soft_copy.php b/soft_copy.php index dc5c172..1b1865a 100644 --- a/soft_copy.php +++ b/soft_copy.php @@ -9,6 +9,7 @@ $ip_address = $d['ip_address']; $DOB = $d['date_of_birth']; $SIGNED = $d['date_time_signed']; $PETITION_ID = $d['petition_id']; +$VoterList_table = $d['VoterList_table']; $signed_name_as = ucwords(strtolower($d['signed_name_as'])); $signed_name_as_circulator = ucwords(strtolower($d['signed_name_as_circulator'])); if (!empty($_SERVER['HTTP_CLIENT_IP'])) { @@ -23,7 +24,7 @@ if ($ip != $d['ip_address']){ die('Error #294'); } -$q2 = "select * from VoterList where VTRID = '$d[VTRID]' "; +$q2 = "select * from $VoterList_table where VTRID = '$d[VTRID]' "; $r2 = $petition->query($q2); $d2 = mysqli_fetch_array($r2); $FIRSTNAME = $d2['FIRSTNAME']; -- 2.20.1