$rawtext = "myword\";
$value = str_replace("\\", "", $value);
$value = str_replace("/", "", $value);
$value = str_replace("]", "", $value);
die ("Rawtext starts as [".$rawtext."] outputs a value of [".$value."]");
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
TRUSTED BY
ASKER
Thanks. That's one of the best explanations I've ever had for how that works.
I actually set it up as a function so that I can use it multiple places.
Open in new window