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

Export Database using codeigniter

Database Utility Class : CodeIgniter PHP script to download mysql db-codeigniter,Backup MySQL database with CodeIgniter ...