I need to use this string [PHP]"preg_match('$p attern','$value ')" [/PHP] to return boolean value in if statment how can i do that i used eval function put it give me this error (Parse error: syntax error, unexpected $end in : eval()'d code on line 1)
using string into if statment to return boolean
Collapse
X
Comment