in reply to (OT) Setting up a MySQL REGEXP in Perl
you need to change the ordering of the statement I believe..
$stmt = "SELECT * FROM teamnew WHERE lastname REGEXP '^$1|^$2|^$3' ORD +ER BY lastname";
cheers,
J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (OT) (OT) Setting up a MySQL REGEXP in Perl
by bradcathey (Prior) on Jan 31, 2005 at 17:15 UTC |