Why are you posting this to a perl list? Try [EMAIL PROTECTED]

On Thursday, April 3, 2003, at 06:06 PM, Robbie Staufer wrote:

Hi,

I have a php form that takes in data for a mysql query. The script that processes the form takes the variables from the form and submits them to the db.

What if the field after LIKE needs to be imprecise? The variable somehow needs to be converted to a regular expression like /'%expr%'/ so the query will match the expression anywhere in the line. I can't put $var inside the regex delimiters, so not sure what else to try.

Any ideas?
Thanks,
Robbie

--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Robbie Staufer
NCAR/SCD
1850 Table Mesa Dr. Rm. 42
Boulder, CO. 80305
(303) 497-1836



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to