Community
Lessons
-
- Lesson
-
More On Classes
- Description
- OOP encapsulates data(attributes) and functions(behaviors) into packages called classes.A class is a user-defined data type that acts as a blueprint for instantiating any number...
-
- Lesson
-
C++ As Better C
- Description
- Before moving on further in advanced C++, it is better to ensure us that C++ is nothing but an advanced form of C. Those of you who came from Pascal background may have not foun...
-
- Lesson
-
More On Functions
- Description
- Inline Functions Functions with small code can be declared as inline.Wherever an inline function is called, actual function code will be replacedSyntax: Put keyword inline bef...
-
- Lesson
-
Functions - Basic Concept
- Description
- Today, we will see yet another concept present in any programming language. Naturally, we will see why at all we need functions. How a function is declared and defined in C++? W...
-
- Lesson
-
Union, Typedef, Enums
- Description
- By now, you already know what is an array, what is a structure, and how to use bit-packaged structure. Today, we will see what are unions and when & how we can use them. How...
-
- Description
- In this tutorial I am going to show you how to create one of those cool and sometimes annoying little verification images you see on forms you fill out. Where the image displays...
-
- Description
- The purpose of this tutorial is to show you how to create a very simple guestbook using PHP and a MySQL database. So lets get started: Creating a database:...
-
- Lesson
-
PHP: Simple Counter Tutorial
- Description
- The focus of this tutorial is to show you how to make a very simple PHP hit counter. The main drawback of this counter is that it counts page views not unique hits. If you real...
-
- Lesson
-
PHP: Stripping HTML
- Description
- This is a very good practice and secures your scripts better if you strip the use of HTML tags from user input. Lets just say you have a form that lets your users...
-
- Lesson
-
PHP: Stripping Slashes
- Description
- Stripping Slashes If you need to strip all slashes from user input, such as a username or something along that line, this is how you would do it: PHP Code Example:PHP Code Ex...
-
- Lesson
-
PHP: MySQL Connection
- Description
- The purpose of this tutorial is to show you how to connect to a MySQL database using PHP. Yippie! PHP Code Example: <span style="color...
-
- Lesson
-
PHP: File Handling
- Description
- When working with files in PHP you must be careful, this can be very dangerous to your files and to your server if not done properly. PHP has a lot of built-in functions to hand...
-
- Lesson
-
PHP: Functions
- Description
- In PHP a funciton is basically a hunk of code that you can call on at anytime to execute. You have already used alot of the built-in functions such as echo(). The great thing ab...
-
- Lesson
-
PHP: Arrays 2
- Description
- Here is another PHP tutorial for PHP Arrays. Gotta love them and use them.This one should be a little more simple than my first Array tutoiral.At some point are another you will...
-
- Lesson
-
PHP: If/Else
- Description
- In PHP you sometimes need your script to run different code if a condition it true or false. This is where the if/else statements come in to play. There is also a elseif stateme...
-
- Lesson
-
PHP: Variables
- Description
- Variables are used for storing data/values for use later in your script. This is a easy way to name and hold on to any value you want for later use. There are a few things you n...
-
- Lesson
-
PHP: Basics
- Description
- I am assuming that you already have PHP installed and configured on your web server. If you don’t, then you need to goto http://www.php.net to find information on that. On...
-
- Lesson
-
PHP: Variable variables
- Description
- Sometimes it is convenient to be able to have variable variable (var vars) names. That is, a variable name which can be set and used dynamically.Var vars can be ve...
-
- Lesson
-
PHP: Making all letters caps
- Description
- A simple way of making all letters into capitals is to use PHP’s inbuilt function strtoupper, can be done like this. echo strtoupper(‘Hi, i am going to be all in cap...
-
- Lesson
-
PHP: Validation
- Description
- In this day and age and taking into consideration the evolution of the web, allot of things are overlooked when programming and one of the main subjects I see commonly being&nbs...;
-
- Lesson
-
PHP: Array Pagination
- Description
- This is a very easy to install pagination class that takes a PHP array and parses it into an array. To install into one of your personal array’s start by including the mai...
-
- Lesson
-
PHP: Sorting Arrays
- Description
- You can sort an array in many different ways using PHP using many different functions, here are a few. sort($array); asort($array); ksort($array); These three different sorting...
-
- Lesson
-
PHP: Using Arrays
- Description
- Arrays are one of the most used properties in php, arrays are like a container they are very simple they can can be indentified by a key or a value and the value can also be an ...
-
- Lesson
-
PHP - Hypertext Preprocessor
- Description
- PHP (recursive acronym for “PHP: Hypertext Preprocessor”) is a widely-used Open Source general-purpose scripting language that is especially suited for Web develop...