PHP Programming
PHP (PHP Hypertext Pre-processor) is a server-side programming language that gives Web developers the ability to build virtually any type of application, from simple contact forms to shopping carts, dynamic job sites, and complex content management systems. In addition to its robustness and versatility, PHP is free (most Web hosts provide PHP in even their most basic plans), and it runs on both Linux and Windows-based Web servers. For these reasons, and many more, it should be no surprise that PHP is the scripting language of choice for many Web developers.
Creating a simple, 1-page PHP mail, contact, or feedback form
With some clever coding, you can bypass the need to submit form data from one page to another and instead manage an entire PHP form application in one file. By posting form data to the same page, complex form maintenance becomes very simple.
Using comments in PHP
If you’ve ever had to work through another programmer’s code to complete a project, you probably understand the importance of commenting code. This quick tutorial shows the 3 different ways to comment your code in PHP.
Use PHP to strip the last character in a string
Whether you’re working with a string created from a database query or array, here’s a cool trick to strip the last character (comma) of a comma separated list of values using PHP.
Using PHP includes
By using PHP server-side includes, you can greatly increase the scalability and ease of maintenance of your Website.
String manipulation in PHP
The ability to manipulate string variables in PHP is extremely helpful. This tutorial will outline some of the more common situations you’ll encounter when working with PHP string variables.