Dotan Cohen wrote:
I took this example from php.net, but can't figure out where I went wrong. Why does this: $text = preg_replace("/<head(.|\s)*?>(.|\s)*?<\/head>/i" , "" , $text); throw this error: syntax error at line 265, column 39: $text = preg_replace("/<head(.|\s)*?>(.|\s)*?<\/head>/i" , "" , $text); ======================================^ It seems to be pointing to the 'e' is 'head'. Why? Thanks.
Since what time does php gives the column of the error? It seems more like javascript error.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php