PHP Tutorials
Playing with Numbers
In this tutorial, we’ll do some mathematical functions with numbers and also make use of the ‘if’ statement.
In this tutorial, we’ll do some mathematical functions with numbers and also make use of the ‘if’ statement.
The 'If' Statement - Part 2
The previous tutorial, which created an age verification machine, had a couple of gaps in the code which, sometimes, meant that it didn't react in the way it should have. There were two main holes which, is this tutorial, we are going to tidy up.
The previous tutorial, which created an age verification machine, had a couple of gaps in the code which, sometimes, meant that it didn't react in the way it should have. There were two main holes which, is this tutorial, we are going to tidy up.
The 'If' Statement - Part 1
First of all we need to look at what goes into making the statement itself. ..
First of all we need to look at what goes into making the statement itself. ..
Variables and the Echo Statement (PHP)
Variables are a very important aspect of PHP and in this small tutorial I hope to explain the very basics... We're just going to dive right in!!
Variables are a very important aspect of PHP and in this small tutorial I hope to explain the very basics... We're just going to dive right in!!
How to Setup and use Printing Variables in PHP
A variable, is something which can hold a dynamic value. A variable is distinguished from other things because it starts with a dollar sign. For example, "$name" could be a variable which would most likely hold the name of something, someone, or someplace.
A variable, is something which can hold a dynamic value. A variable is distinguished from other things because it starts with a dollar sign. For example, "$name" could be a variable which would most likely hold the name of something, someone, or someplace.
PHP / Apache Templating
Here's a quick tip to have a simple template-based website. I use this method on my Textpattern-powered site and it works great! This method does not requires any installation of PHP template engines such as Smarty, XTemplate, etc. All it takes is 2 lines in your .htaccess file. So, how am I doing it? Sort answer: using Apache directives.
Here's a quick tip to have a simple template-based website. I use this method on my Textpattern-powered site and it works great! This method does not requires any installation of PHP template engines such as Smarty, XTemplate, etc. All it takes is 2 lines in your .htaccess file. So, how am I doing it? Sort answer: using Apache directives.
How to make your own PHP template script
Many people ask how do you create a template system in PHP. It is true their are many different ways, but this will hopefully show you the basic understanding of this type of method.
Many people ask how do you create a template system in PHP. It is true their are many different ways, but this will hopefully show you the basic understanding of this type of method.
How to make a Hit Counter with PHP
In this lesson we are going to make a very simple hitcounter in PHP.A hitcounter is a script, that counts the number of visitors to your site.
In this lesson we are going to make a very simple hitcounter in PHP.A hitcounter is a script, that counts the number of visitors to your site.
How to Make a Drop Down Template Theme Selector with PHP
This tutorial will help teach you how to make your site have the option to allow the users to choose the look and feel of the site using PHP, and MySQL wrapped around a HTML template.
This tutorial will help teach you how to make your site have the option to allow the users to choose the look and feel of the site using PHP, and MySQL wrapped around a HTML template.
Hightlight or Censor Words in PHP
This tutorial will show you how to load a flat file and parse text to highlight or even censor out a word.
This tutorial will show you how to load a flat file and parse text to highlight or even censor out a word.
