PHP Tutorials Blog

In short, PHP is part of the HTML document with the .php file extension. PHP is the most popular Server Side Language for webpage design nowadays. Most of the powerful and interesting interactive websites on the Internet are written in PHP web language. Therefore PHP is almost the must-to-learn webpage design language if you want to create interactive website. New tutorials will constantly add this PHP Tutorials blog. Please come back often.

  • Websites With Useful PHP Scripts
    August 2, 2014

    The followings websites have good and useful PHP scripts that may be useful in web design. PHP Login Script This tutorial shows how to : create a simple login system using PHP code on our pa...

  • Using PHP foreach
    May 13, 2013

    The PHP manual describe clearly how to use the foreach without throwing an error - "The foreach construct provides an easy way to iterate over arrays. And foreach works only on arrays and objects,..."...

  • Using PHP For Loop and Switch Conditional Statement
    May 13, 2013

    This is just a revision of using PHP for loop and switch conditional case statement after somebody ask me a very simple question of how to use them together today. The following PHP codes are a ver...

  • PHP Cut Off or Truncate a Long String of Words
    May 10, 2013

    Very often, we need to use PHP to cut off or truncate a long string of words or text. A very typical example is that we have many posts in our blog or website. We wish to show the most recent 10 posts...

  • Use JavaScript Alert Box for PHP Trouble Shooting
    July 14, 2012

    In many computer programming languages, I always use message box to trace the errors or doing trouble shooting. However PHP do not come with a message box function. It makes the trouble shooting not s...

  • Use PHP Open and Read a File or URL
    April 9, 2012

    I sometimes use PHP to open and read a file. This is very simple and easy but very useful. Let's discuss briefly this topic today. I am now going to open a text file (urls.txt) and read the content...


Comments are closed.