Jump To Content

LearnHub



Lessons

  • Lesson

    ActionScript 3.0: Hello World Tutorial

    Description
    Launch Adobe Flash CS3CTRL+F7 to toggle the components window on and off (you want it visible). Or use Window – ComponentsDrag a button onto your canvas.Give it an Instanc...
  • Lesson

    PHP: Auto Image Verification Tutorial

    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...
  • Lesson

    PHP: Simple Guestbook Tutorial

    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 ...
  • 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="...
  • 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

    Open Source Games

    Description
    Want to kill some time playing games but don’t have or want to spill the cash on a proprietary game? Look to further and invest only your time in trying out these great op...
  • Lesson

    Javascript: Intro to jQuery

    Description
    Starting out with jQuery: learn the basics.So, first things first. Pop over to http://docs.jquery.com/Downloading_jQuery and download the latest version in whatever form you pre...
  • Lesson

    Javascript: Loading Function

    Description
    A quick and dirty way of onloading functions in javascript can be done like so. window.onload = function() { callFunctionOne(); callFunctionTwo(); // Etc }
  • Lesson

    Javascript: Pop-up

    Description
    The simplest way to create a javascript popup is to create a function like so. And then add the following to the anchor link you would like to popup. <a href=”#&...
  • Lesson

    Javascript: AJAX Request

    Description
    This is a basic tutorial on how to use the xmlHTTPRequest object to send an ajax request, the way I have chosen to do this is by calling the request encased in my own object. Fi...
  • Lesson

    Javascript: Image Preloader

    Description
    A very simple way to load the images into the browsers cache so when they are displayed they will not have to load the file and create a delay in the browser. // Initiate the i...
  • Lesson

    CSS: Fluid images layout

    Description
    A quick way of adding a header image to a fluid layout is it to break the header images into two slices and then assign the headers to a div in the same container like so. <...
  • Lesson

    CSS: Three Column Layout

    Description
    This is a basic tutorial on how to create a basic CSS layout with three columns. So to start in your CSS you need four classes / containers to begin. Firsts your container for a...
  • Lesson

    CSS: Streamlined, maintainable & easy to read.

    Description
    Not everyone writes CSS the same way and there is no particular “right” way to do it. The W3C have set the standards but beyond this, writing CSS is down to an individual’s pref...
  • 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 ca...
  • 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

    What does open source mean?

    Description
    Most software that you buy or download only comes in the compiled ready-to-run version. Compiled means that the actual program code that the developer created, known as the sou...
  • Lesson

    What is Linux?

    Description
    Every desktop computer uses an operating system. The most popular operating systems in use today are:WindowsMac OSUNIX Linux is a version of the UNIX operating system that has b...