php variable in regex?

BepitkoZ25

New Member
I have a variable $word and I'd like to match it in my select statementsomethig like this: "select * from table where column regex '[0-9]$word'"but this doesnt work, so how can i put a variable in a regular exprssion?Thank you
 
Back
Top