It seems that php cannot undrestand the second bracket is a string and not end of function. Any idea guys?
I dont get what you mean? What do you want the second bracket to be? Edit: I get what you mean now sorry, lol took a second. You could substitute them with varibles like. $var = ")"; strpos($content,"$var") Code (markup):
It's most likely you have an error before the line where you call strpos, because if you enclose the ) in either single or double quotes, it'll work just fine.
whats wrong to it run this and check. <? $content = "find the bracket ) here"; echo strpos($content,")"); ?>