Posted by Andrew Richardson on 03/07/06 01:07
p wrote: > You still need to wrap the regex in slashes I believe: > > $result = preg_match("/[0-9][0-9]/","12") > $result = preg_match("/hello/","hello") > > Hope that helps, > Pete Ah, that would be it. I feel a bit silly now! :) Thanks!
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming