"PHP"...what a strange sounding name for a programming language. How did they come up with it? Answer:

PHP: Hypertext Preprocessor. It is a recursive acronym; the first "P" stands for "PHP," and the first "P" of that stands for "PHP" as well, thus the cycle continues. It originally stood for Personal Home Page, but was renamed when the language fell into common use on the web, at version 3.0.


PHP is a server side scripting language that lets a programmer move websites beyond the humdrum world of static text and images on a web page. PHP makes your web pages dynamic so they come to life. Interactive data entry web forms, navigable scroll lists, simple to use email contact pages, live database connections to MySQL databases, data streaming from a remote web server and more.

So you ask, "PHP sounds like a keeper. What are some examples of what it could do for a website?"

Scenario #1:

You are running an e-commerce website and you have a great idea to ramp up future sales. You want new programming that will list some of your online store products that are similiar to those that came up from a previous search. The idea is to record an audit trail for each visitor of the queried products from the searches they did. These will be stored in a database table on the website that will cross reference them to similar products you sell that didn't appear in the visitor's prior searches. The next time the visitor is in your online store, you could use this cross referenced data in conjunction with appropriate programming to display the items that did not appear in the visitor's prior searches. You have just created a mechanism for suggestive selling.

Scenario #2:

Let's say you decide to add a new section to your website. This new page will display testimonials that each of your customers have written about their experience with your company, both good and bad. It sounds like a great idea that will add more credibility and marketing leverage to your site. But how will you implement this so it's as automated as possible while still screening out vulgar, hateful submissions at the same time? I would approach it this way. First, I would create an administrative section that is entered through a secure login screen. This would have a section that would list all administrator approved testimonial submissions, which had been previoulsy screened for unacceptable material. These approved submissions would be stored in an "approved testimonials" MySQL database table on the website. The administrator would have the option to delete any of these approved submissions. The approved testimonials database table would also populate the "front end" web page on the website that lists all the approved testimonials for public viewing. I would have a "pending testimonials" database table. This would be stored in the same MySQL database as the "approved testimonials" database table. This pending area would be the direct recipient of any submissions that come through the testimonial submission form, which is available to the public. In addition to having the capability to delete any of these pending submissions, it would also have the functionality of sending appropriately worded submissions to the "approved testimonials" data table.

Below are PHP coding examples I created for customers. When you view the page, just click on the "Agree" button to accept the open software license and the programming will become visible in the multi-line text area. The comments are preceded by "//" to narrate the programming.

Please select a "Ye Olde PHP Script-ure" coding example to view:

This is a very robust server side scripting language that can transform your static web pages to dynamic ones. It can accommodate a wide range of applications. The functionality this offers your website is as endless as your imagination. Please use my email and phone contact page to contact me so we can discuss your ideas today.

UPDATE: I have decided to cease publication of individual "Ye Olde PHP Script-ure" web pages after September 2013 and instead add periodic PHP coding posts to my blog, "Menace II Conventional Thought: An Alternate Pathway Of A Self Styled Computer Programmer". The blog can be viewed at http://analyzoh (dot) blogspot (dot) com. It is updated monthly and includes programming techniques, troubleshooting encounters, SEO and marketing strategy as well as my general business ideas.

Copyright 2010-2015 Douglas Miller