HomeSunday, June 24, 2018, 01:42:50
2

PHP Str_replace - PHP Tutorial

Tuesday, February 10, 15, 09:47:01, 3 Yaers Ago Via wain, Hits: 6433
This function returns a string or an array with all occurrences of search in subject replaced with the given replace value.
Example:
Code:
<?php
$content = 'PHP 1 2 3';
$str = array('1','2','3');
$replace = array('is an open-source','server-side','scripting language');
$output = str_replace ($str,$replace,$content);
echo $output;
?>

Sign In

Sponsor
Related

PHP Redirect

Header (location) redirect must be processed before any output to the browser.

How to insert new line (IP Address) with fwrite

How to insert new line (IP Address) with fwrite, Get IP address and write to file.

E-Cards 1.1. PHP Script

This script will allow your visitors to send e-cards to their friends. It features admin notification and HTML output.To use the "e-cards" script completely free , the "powered by" link at the bottom of the pages must stay intact.

Site Recommendation

This script will allow your visitors to recommend your site to their friends.

Convert pdf to image - mpdf

Convert pdf file to jpg with php and mpdf

Filter Words in PHP - PHP Tutorial

Filter bad words in PHP, requirement(s): PHP server

PHP/MySQL Bookmarklet - PHP Tutorial

PHP/MySQL bookmarklet, bookmark current page, PHP/MySQL tutorial.

How to set up password for phpMyAdmin in Wamp Server

Password for phpMyAdmin in Wamp

Process Form Data with Jquery

jQuery, Process form data
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Sun, Mar 18, 18
So far has created 115 entries.
wain
This author has not yet filled in any details.