Home > Tag Archives: tutorial (page 3)

Tag Archives: tutorial

December, 2014

  • 19 December

    I Want A Website: Using A Website Builder

    So you’ve made the decision to use a website builder for your website and now your sitting there wondering “now what”. Well now that you’ve made the decision to use a Website Builder, you need to pick one. Picking the right one for you is going to come down to what exactly you want to be able to do with ...

  • 19 December

    I Want A Website: Building My Own Website

    So you decided to bypass the website builder route and build your website yourself. This is definitely the harder way to go about building your website however you will learn alot more and hopefully have some fun along the way. First thing is first. Your going to need to get yourself a domain name and a hosting plan. Now usually ...

  • 19 December

    I Want A Website: An Introduction

    So the time has finally come when you’ve decided it’s time to get a website up – whether it be for your personal blog or your business you’ve made the decision to get yourself onto the world wide web. So now you’re probably sitting there wondering – What now? Do I call GoDaddy? Web.com? Wix? I want a website – ...

November, 2014

October, 2014

  • 30 October

    The Basics of PHP Classes and Objects

    As you learned in previous tutorials functions provide a way for you to divide your program’s tasks into separate, smaller tasks. Classes and objects are somewhat similar in helping you to organize your program. They are used to create collections of related variables and functions, which can be used to more accurately represent real-life situations. So you might have a ...

  • 28 October

    FOR and FOREACH Loops

    Much like WHILE loops FOR and FOREACH loops are meant to enable the repeated execution of a section of code. However, unlike while statements, for and foreach have features built into them to update the sentinel value for every repetition. So lets go back for a moment to our original example in the WHILE loops tutorial – Bart Simpson having to write ...

  • 28 October

    String Manipulation – Using STRPOS and STR_REPLACE PHP Functions

    So we have substr and strlen PHP functions covered now – however there is alot more PHP can do out-the-box with strings. Let’s say we are storing the users full name within our database in a single column in the following format firstName-lastName. However on our frontend we want to be able to echo out the first and last name separately. ...

  • 27 October

    String Manipulation – Using SUBSTR & STRLEN PHP Functions

    Now that we’ve covered the basics of what functions are within PHP – PHP has a wide array of functions already available for you to use to work with various strings. So let’s say that we have a variable holding a user’s telephone number and we’re asking our user to input the last 4 digits of their phone number to verify ...

  • 16 October

    The PHP Switch Conditional Statement

    The switch statement allows you to simplify our previously written if…elseif…else statement by not constantly writing out the condition to check for. So, let’s take our code: <?php $name = "Eric"; if ($name == "Mike") { echo "Name Is Mike B."; } elseif ($name == "Eric") { echo "Name is Eric A."; } elseif ($name == "JD") { echo "Name ...

  • 16 October

    Understanding IF / ELSE / ELSEIF Statements

    The majority of the time your PHP application or script will vary depending on different conditions. These conditions can be set via the script itself, or from user interaction – regardless your PHP script needs a way to handle these different situations. This is where conditional statements in PHP are introduced. PHP has several different conditional statements: if statement – ...

  • 16 October

    Variables – Understanding Global, Local, & Static Variable Scope

    While we have covered the basics in how to use variables within PHP there's still a whole other side to variables we haven't discussed yet. This includes understanding variable scope ...

August, 2014

  • 15 August

    Issuing SQL Statements Using PHP Data Objects

    This tutorial expands upon our previous PHP Data Objects tutorial, which discusses how to connect to a MySQL database, and showcases how to communicate with that MySQL database once you are connected. Depending on the type of query you want to run you’ll be issuing statements in two different ways: For example let’s say you need to run an SQL query to update ...

  • 8 August

    Connecting To A Database Using PHP Data Objects

    With the release of PHP 5.5.0 the mysql_* functions have become deprecated and as such connecting to a MySQL database with PHP 5.5 and up will require the use of either PHP Data Objects (PDO) or an individual MySQL driver (MySQLi). Throughout this tutorial we will focus on utilizing PDO to connect, access, and disconnect from a MySQL database. If you’re ...

July, 2014

  • 31 July

    Including Another File Within Your Script

    Almost all online scripts and applications will feature a core library of variables and functions that get utilized throughout the script. For example, let’s say you’re writing a database intensive application. You could declare your MySQL details within each page of your script – however if you ever changed your password that would mean that you would need to update ...

May, 2014

  • 8 May

    Making Life Easier with PHP While Loops

    The WHILE loop is one of the most useful commands in PHP. It is also quite easy to set up and use – granted it might look a bit complicated. First off however let’s figure out just what the hell a WHILE loop is – and what we need it for. A WHILE loop will, as the name suggests, execute ...

March, 2014

  • 12 March

    Sending Mail with PHP

    Mail is extremely easy to send from PHP, unlike using scripting languages which require special setup (like CGI). There is actually just one command, mail() for sending mail. In this tutorial we will discuss how to use PHP’s mail() function. It is used as follows: mail($to,$subject,$body,$headers); In this example I have used variables as they have descriptive names but you could ...

January, 2014

  • 30 January

    PHP Tutorials

    Looking to dive into the wonderful world of PHP & MySQL? The following tutorials should help you get started. Echo(); Chances are you’re familiar with the Hello World exercise by now. It’s the starting point for learning almost any programming language. PHP is no different. So let’s dive right into it. How do we display things using PHP? Escaping Characters ...

  • 30 January

    Linux Server Tutorials

    As a webmaster chances are you will wind up managing a Linux box or two in your time – and when you do you’ll be happy you learned these tricks. How To Copy, Move, and Delete Files on Linux Servers A straightforward tutorial that should get you through most of the basic webmaster work you’ll have to do. Pipelines Discover ...

Like every other website, this site uses cookies to analyze our traffic. Cookies may also be utilized by our advertisers and partners. By using this website you agree to the use of said cookies. More Information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings, continuing to navigate past this message, or you click "Accept" below then you are consenting to the use of cookies on the Rapid Purple website.

Close