- or download this
my $stmt = "SELECT * FROM users WHERE ? = ? ORDER BY ?
+ASC";
- or download this
$sth->execute($searchfield, $searchterm, $searchfield) or die "Unable
+to execute
+ query: " . $sth->errstr;
- or download this
[Mon Mar 19 19:01:04 2018] update_tables.cgi: statement = 'SELECT * F
+ROM users WHERE lastname = ? ORDER BY ? ASC' at update_tables.cgi lin
+e 462.
- or download this
'SELECT * F
+ROM users WHERE $searchfield = $searchterm ORDER BY $searchfield ASC'