php string replace
Copy this code and paste it in your HTML
<?php
// Provides: You should eat pizza, beer, and ice cream every day
$phrase = "You should eat fruits, vegetables, and fiber every day.";
$healthy = array("fruits", "vegetables", "fiber"); $yummy = array("pizza", "beer", "ice cream"); ?>
URL: http://php.net/manual/en/function.str-replace.php
Report this snippet
Comments
Subscribe to comments