Latest news
Home » PHP » php str_replace() function

php str_replace() function

php str_replae()

function
echo $socUrl = str_replace(‘-‘, ‘smarttips.in’, ‘My favorite website is -‘);
output-My favorite website is smarttips.in

Leave a Reply

x

Check Also

How to print Codeigniter upload error

if you want to display errors on upload functionality in codeigniter. Use the following function ...