Revision: 54430
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 23, 2011 08:35 by inreflection7
Initial Code
<?PHP $name = $_POST[name]; $pagelink = str_replace(" ","_",$name); ?>
Initial URL
Initial Description
Search for a string, if matched replace with second provided paramater. Third parameter is the variable whose value is the string you'd like to search.
Initial Title
Replace string in PHP
Initial Tags
php, replace
Initial Language
PHP