HCoop
/
clinton
/
MarylandElectronicPetitionSignature.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
419e5d2
)
Update search.php
author
Patrick McGuire
<insidenothing@gmail.com>
Mon, 29 Jun 2020 00:25:46 +0000
(20:25 -0400)
committer
GitHub
<noreply@github.com>
Mon, 29 Jun 2020 00:25:46 +0000
(20:25 -0400)
admin/search.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/search.php
b/admin/search.php
index
48c05cc
..
6734ce9
100644
(file)
--- a/
admin/search.php
+++ b/
admin/search.php
@@
-10,7
+10,7
@@
if ($_POST['LASTNAME']){
$LASTNAME=$_POST['LASTNAME'];
}
if($LASTNAME != ''){
- $q = "select * from VoterList where LASTNAME
= '$LASTNAME
' ";
+ $q = "select * from VoterList where LASTNAME
like '%$LASTNAME%
' ";
echo "$q";
$r = $petition->query($q);
while ($d = mysqli_fetch_array($r,MYSQLI_ASSOC)){