Christian Haensel wrote:
Hi Ed, did you try the backslash as escape character? <? $path = "testing/realtors/userdata/"; if(preg_match("/\/realtors/", $path)) { echo 'Success'; } ?>
That's what did it. I was thinking the \ was the escape for the command but wanted to make sure.
Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php