PHP Programming (Beginner)

PHP – Creating Arrays

Arrays allow for a variable to have multiple values.  This gives you the ability to create lists of names, and be able to sort them easily.  Also it allows you to have values from a […]

PHP Programming (Beginner)

PHP – Comparison Operators

Comparison Operators allow you to compare variable values against values to determine whether an event should trigger.  You use Comparison Operators in Loops and If Statements.

PHP Programming (Beginner)

PHP – if Statements

If Statements allow you to trigger code if specific conditions are met.   <?php $age = 20; print “Your Age is $age”; print “<br>”; if ($age < 18) { print “you too YOUNG”; } ?>

PHP Programming (Beginner)

PHP – Comments

Commenting code allows you to add notations to you script to explain why it was written how it was. You can also use commenting to keep specific code from running during troubleshooting.   <?php /* […]

PHP Programming (Beginner)

PHP – Setting Variables

Variables in PHP can be set without needing to be declared.   <?php $string = “Hello World”; $int = 1; $float = 2.2; print “<h1>String</h1>”; print $string; print “<h1>Int</h1>”; print $int; print “<h1>Float</h1>”; print $float; […]

PHP Programming (Beginner)

PHP – What are Versions of…

Coding languages like all software has versions. These versions offer improvements, and changes over time. This means that functions that work in some versions do not work in others. So you need to verify which […]

PHP Programming (Beginner)

PHP – Why Learn…

Why should you learn PHP when there are two many “better” languages available? It’s easy to learn. You can build practical web apps within a week of starting. Finally a huge number of legacy web […]

PHP Programming (Beginner)

PHP – What is…

PHP is a Hypertext Preprocessor. This essentially means that PHP dynamically writes web pages for you. So it can query a database and print a report from it, or change CSS and such based on […]