Using and manipulating variables in PHP is extremely easy because PHP includes several functions to help us compare and contrast them. In this article, Steve introduces us to the range of PHP data types. He also teaches us how to work with and manipulate PHP data types. This article also presents several code examples that you can test and learn from.
For those that haven't noticed, this site is constructed entirely from the incredibly powerful PHP server-side scripting language. PHP is based heavily upon the C++ language syntax, so the majority of C++ programmers will pick it up quite easily.
PHP is parsed on the server and can be embedded into an HTML document, saved with the .php or .phtml extension. Because PHP code is parsed on the web server, any visitor who tries to view your source code will not actually see any of your PHP code since it has already been interpreted and output as to HTML.
In this article I will not detail dull programming theory, but rather introduce you to the range of PHP data types and teach you how to work with and manipulate them. This article presents several code examples that you can test and learn from.
In this article I will assume that you have PHP installed on your system and are running the Apache web server. Both of these are free downloads for Windows, Unix or Linux systems.