What is SSI?
SSI stands for server side include. This means that something is included in the file on the server before it is sent to the user. This is used a lot in PHP when we have different parts of our page or program held in different files. [read more]
What is a floating point number?
A Floating Point Number is a way to represent a precise number on a computer system. The "floating point" refers to the decimal point. Other than this it is very similar to scientific notation. Using this sort of notation when storing numbers in the computer lets you work with more accuracy and lose less digits than you might have otherwise lost.
Boolean Logic
Boolean logic is usually taught along side of computer programming because it helps people understand how computers think. A computer can only test for true or false. Either a condition that you give it is met or it is not. This article explains how boolean logic works, and how that relates to programming.
What are binary numbers?
Binary numbers are the same numbers you have always used, they are just represented in a different way. People grow up learning how to represent numbers in base 10. When you get to past 9, you add a second digit and start over with 0 in the first column. Binary is the same only instead of being base 10 it is base 2. [read more]
Social Media - Facebook and Pinterest
You've heard about Facebook and Pinterest, you may even be using them socially, but how can you use them on your website? In part two of our social media article we take a look at how to start using these areas of social media on your website. [read it]
Social Media - Twitter and YouTube
Social media is a huge part of the internet and your website should be involved in it to help spread the word about your awesome content. In part one of this two part social media article we look at how to use Twitter and YouTube on your website. [read now]
Remove an entire table with: drop table
If you want to remove an entire table from your database you can do so using drop. Be careful when doing this because you will preeminently lose all of the data stored in the table as well as the tables structure. [Read More]
Switch databases using the use command
If you are working with more than one database you can switch between them using the use command. For example if you had a database called "Pandas" and a database called "Kittens" you could switch to the first database using: use Pandas; [Read More]
Use floor to always round down
The floor function is used to always round down. For example: 2.1 and 2.9999999 would both round down to 2. This is sometimes used because you can't have a fraction of something. For example, you can fit 3.5 people at a table, you can fit 3 or 4 people, so you would use the floor function when calculating capacity. [Read More]
Use Ceil to always round up
Ceil (short for Ceiling) is used to always round a number up. So for example, 5.1 and 5.9 would both round up to the number 6 if you were using Ceil. No matter how small the trailing decimal is, ceil will always round up. [Read more]
