nt: Thursday, October 09, 2003 10:18 AM
Subject: [PHP-DB] REGEXP and Variables.
> Hi People,
>
> Need a little assistance with the following MySQL query:-
>
> $query = "SELECT employ_id,company FROM employers WHERE employ_id REGEXP
> '($employ_id)' OR company REGEX
Hi People,
Need a little assistance with the following MySQL query:-
$query = "SELECT employ_id,company FROM employers WHERE employ_id REGEXP
'($employ_id)' OR company REGEXP '($name)' OR industry REGEXP
'($industry)'";
The above query gets the variables $employ_id, $name and $industry from
a