I have an error with some code being executed. When I use a pipe character | in my code as a delimiter, the code is displayed on the screen as text and not executed.
$variable = "1600 Pennsylvania Avenue, Washington, D.C. | 220 Main Building, Notre Dame, IN 46556";
I tried escaping the character ‘\|’, but that did not work. At this point, I am unsure if I can get around the problem. Do you have any suggestions?
- The topic ‘Pipe character error’ is closed to new replies.