str_replace: @ (at) : String Replace « String « PHP
- PHP
- String
- String Replace
str_replace: @ (at)
<?php
$author = "[email protected]";
$author = str_replace("@","(at)",$author);
echo "Contact the author of this article at $author.";
?>
Related examples in the same category