Simple really, but I am not the best syntax expert and I need the help nice and quick please.
code:
$media = str_replace('\', '', $media);
It is that simple. I can't treat backslashes as text in a string no matter what I try and do. I am trying to get rid of backslashes from a variable and this is the only simple way I can think of. So the syntax fix would help me a lot. Thanks a bunch of bananas
.