I am trying to find the last occurance of a backslash in a file path so that I can then pickup the file name.
is what I'm doing to find this backslash but it wont work. I get an error msg which refers to some place further in my code.
Parse error: syntax error, unexpected '=', expecting '}' in ...... on line 69
It works perfectly if I look for another kind of character, eg, a period.
It seems PHP can't handle the backslash.