I have a variable that contains \ and I want to replace the \ for a single .
For Example: $variable = "test\testing\Adam"
I would want "test\testing\Adam"
How would I write the code to do this. I have been trying stuff like this but I am having problems...
$variable = ereg_replace("[\]", "\", $variable);