hey guys,
i got a question on REGEXP in SQL
if i have a row containing the info
NAME : 12344455667678
how can i use a SELECt with REGEXP
[CODE=mysql]
SELECT * FROM `mml log` WHERE Commands REGEXP
[/CODE]
such that it will search anything in the field with NAME : $input
in which the $input is given by my users
so say is $input is 234 or 444 or 5566
it will still return me the row containing the info above?
i got a question on REGEXP in SQL
if i have a row containing the info
NAME : 12344455667678
how can i use a SELECt with REGEXP
[CODE=mysql]
SELECT * FROM `mml log` WHERE Commands REGEXP
[/CODE]
such that it will search anything in the field with NAME : $input
in which the $input is given by my users
so say is $input is 234 or 444 or 5566
it will still return me the row containing the info above?
Comment