Duke's Blog

Visit Duke's new and improved Blog.

All

PHP str_replace() Function

The PHP function str_replace()
str_replace(find,replace,string,count)
Example
echo str_replace("find","Positive","Turn a Negative to a find .");
Displays:
Turn a Negative to a Positive .
catagory: PHP
tags: tutorial

My Pictures

Train tracks along the ocean

This blog will contain posts that seem relevent and interesting to me. I hope you also enjoy them and find this blog useful.


I am using a model view controller (MVC) pattern for this web page. I using PHP for the controller, HTML for the view and for the modal mySQL. I also developed a Filemaker solution. The FM solution stores the blog data. I use the execute SQL script to upload, edit and delete all blog post data. The code can be found on GitHub. PHP files on GitHub. HTML file on GitHub